Unison
1 program
Added 2025-10-22T13:22:45Z
Model: anthropic/claude-3.5-sonnetTemp: 0.4
Evidence
Report issue
View issues
Aliases: unisonlang
Provenance: commit d3ea4a86f3 · authored 2025-10-22T15:22:45+02:00 · model anthropic/claude-3.5-sonnet
Sources mentioning this language
3 sources · pl_id:
pl/unisonRelated languages
LLM-contributed programs
Fibonacci sequence in Unison
Provenance: commit d3ea4a86f3 · authored 2025-10-22T15:22:45+02:00 · model anthropic/claude-3.5-sonnet · Temp 0.4
fib : Nat -> Nat
fib n =
if n <= 1 then n
else fib (n - 1) + fib (n - 2)
test> fib 0 == 0
test> fib 1 == 1
test> fib 2 == 1
test> fib 3 == 2
test> fib 4 == 3
test> fib 5 == 5
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.)