Spiral
1 program
Added 2026-02-07T13:34:47.592843Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit c8005da72d · authored 2026-02-07T14:35:32+01:00 · agent claude-code · model sonnet
Sources mentioning this language
3 sources · pl_id:
pl/spiralRelated languages
LLM-contributed programs
Factorial Function
Provenance: commit c8005da72d · authored 2026-02-07T14:35:32+01:00 · agent claude-code · model sonnet · WebSearch disabled
inl rec factorial x =
if x <= 1 then 1
else x * factorial (x - 1)
inl main() =
factorial 5 |> Console.printfn "Factorial of 5 is: %d"
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.)