Habit
1 program
Added 2026-02-10T21:25:09Z
Agent: claude-code-recoveryModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit c302850e13 · authored 2026-02-11T13:26:17+01:00 · agent claude-code-recovery · model sonnet
Sources mentioning this language
2 sources · pl_id:
pl/habitRelated languages
LLM-contributed programs
Factorial
Provenance: commit c302850e13 · authored 2026-02-11T13:26:17+01:00 · agent claude-code-recovery · model sonnet · WebSearch disabled
-- Factorial function in Habit
factorial :: Unsigned -> Unsigned
factorial n = if n == 0 then 1 else n * factorial (n - 1)
main :: M Unsigned
main = do
let result = factorial 5
return result
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.)