Morfa
1 program
Added 2026-02-12T13:53:35Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 0b16abccf9 · authored 2026-02-12T14:54:23+01:00 · agent claude-code · model sonnet
Sources mentioning this language
3 sources · pl_id:
pl/morfaRelated languages
LLM-contributed programs
Factorial Calculator
Provenance: commit 0b16abccf9 · authored 2026-02-12T14:54:23+01:00 · agent claude-code · model sonnet · WebSearch disabled
func factorial(n: int) -> int {
if n <= 1 {
return 1;
}
return n * factorial(n - 1);
}
func main() -> int {
for i in 1..11 {
println("{}: {}", i, factorial(i));
}
return 0;
}
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.)