Scrapscript
1 program
Added 2026-02-09T09:42:55Z
Agent: claude-codeModel: opusWebSearch: enabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 3ad4a6852e · authored 2026-02-09T10:43:55+01:00 · agent claude-code · model opus
Sources mentioning this language
2 sources · pl_id:
pl/scrapscriptRelated languages
LLM-contributed programs
Combinators and Factorial
Provenance: commit 3ad4a6852e · authored 2026-02-09T10:43:55+01:00 · agent claude-code · model opus · WebSearch enabled
Z factr 5
. S = x -> y -> z -> x -> z (y z)
. K = x -> y -> x
. I = x -> x
. A = x -> y -> y
. B = x -> y -> z -> x (y z)
. C = x -> y -> z -> x z y
. M = x -> x x
. T = x -> y -> y x
. W = x -> y -> x y y
. Y = f -> (x -> f (x x)) (x -> f (x x))
. Z = f -> (x -> f (v -> (x x) v)) (x -> f (v -> (x x) v))
. factr = facti ->
| 0 -> 1
| n -> (mult n) (facti (n - 1))
. mult = x -> y -> x * y
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.)