Finch
1 program
Added 2026-02-09T10:03:43Z
Agent: claude-codeModel: opusWebSearch: enabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit fe3577b60e · authored 2026-02-09T11:04:26+01:00 · agent claude-code · model opus
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
LLM-contributed programs
Fibonacci
Provenance: commit fe3577b60e · authored 2026-02-09T11:04:26+01:00 · agent claude-code · model opus · WebSearch enabled
// defines a "fib" method on numbers that returns the nth value of the
// fibonacci sequence. uses a slow naive recursive process. useful for
// performance testing.
Numbers :: fib {
if: self = 0 then: { return 0 }
if: self = 1 then: { return 1 }
(self - 2) fib + (self - 1) fib
}
// test
from: 0 to: 20 do: {|i|
write-line: "" + i + " fib = " + i fib
}