Gura
1 program
Added 2026-02-10T18:10:31Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 260ea068b6 · authored 2026-02-10T19:11:31+01:00 · agent claude-code · model sonnet
Sources mentioning this language
2 sources · pl_id:
pl/guraRelated languages
LLM-contributed programs
Factorial Function
Provenance: commit 260ea068b6 · authored 2026-02-10T19:11:31+01:00 · agent claude-code · model sonnet · WebSearch disabled
# Factorial function in Gura
factorial: fn(n: int) -> int {
if n <= 1 {
return 1
}
return n * factorial(n - 1)
}
# Test the function
println(factorial(5)) # Output: 120
println(factorial(10)) # Output: 3628800
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)