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/unison
LLM (this repo) · 1PldbRosettacode

Related languages

Ursa (0.24)Slang (0.24)Yron (0.23)Unicon (0.22)D (0.21)

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
code.u · license: MIT · added: 2025-10-22T13:22:45Z
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.)

Contribute — propose a file extension

Tell us where to find evidence about Unison (mapped to pl/unison). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Unison/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← unisim Unispace →