Smalltalk-71
1 program
Added 2026-02-11T11:34:07Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit d57d896100 · authored 2026-02-11T12:34:50+01:00 · agent claude-code · model sonnet
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
LLM-contributed programs
Factorial
Provenance: commit d57d896100 · authored 2026-02-11T12:34:50+01:00 · agent claude-code · model sonnet · WebSearch disabled
class Integer
method factorial
self = 0 ifTrue: [^1].
self = 1 ifTrue: [^1].
^self * (self - 1) factorial
end
end
5 factorial print