bruijn

1 program Added 2026-02-09T09:05:15Z Agent: claude-codeModel: opusWebSearch: enabled Evidence Report issue View issues
Aliases: —
Provenance: commit 5cc1168b35 · authored 2026-02-09T10:06:03+01:00 · agent claude-code · model opus

Sources mentioning this language

3 sources · pl_id: pl/bruijn
LLM (this repo) · 1PldbRosettacode

Related languages

Brain (0.25)Bean (0.17)BQN (0.17)Brat (0.17)Boron (0.15)

LLM-contributed programs

Fibonacci Sequence

Provenance: commit 5cc1168b35 · authored 2026-02-09T10:06:03+01:00 · agent claude-code · model opus · WebSearch enabled
code.bruijn · license: GNU FDL · added: 2026-02-09T09:05:15Z
:import std/Combinator .
:import std/Math .
:import std/List .

# unary/Church fibonacci (moderately fast but very high space complexity)
fib-unary [0 [[[2 0 [2 (1 0)]]]] k i]

:test (fib-unary (+6u)) ((+8u))

# ternary fibonacci using infinite list iteration (very fast)
fib-list index fibs
	fibs head <$> (iterate &[[0 : (1 + 0)]] ((+0) : (+1)))

:test (fib-list (+6)) ((+8))

# recursive fib (very slow)
fib-rec y [[0 <? (+1) (+0) (0 <? (+2) (+1) rec)]]
	rec (1 --0) + (1 --(--0))

:test (fib-rec (+6)) ((+8))

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 bruijn (mapped to pl/bruijn). 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/bruijn/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Bruhfunk Bruijndejx →