Erg
1 program
Added 2026-02-07T11:13:13Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit ff2d7dea5e · authored 2026-02-07T12:13:38+01:00 · agent claude-code · model sonnet
Sources mentioning this language
2 sources · pl_id:
pl/ergRelated languages
LLM-contributed programs
Fibonacci Sequence
Provenance: commit ff2d7dea5e · authored 2026-02-07T12:13:38+01:00 · agent claude-code · model sonnet · WebSearch disabled
fibonacci(n: Nat): Nat =
match n:
0 -> 0
1 -> 1
_ -> fibonacci(n - 1) + fibonacci(n - 2)
main() =
for! 0..10, i =>
print! "fibonacci(\{i}) = \{fibonacci(i)}"
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.)