10 lines
96 B
Plaintext
10 lines
96 B
Plaintext
fib = (fn i <int>) <int> {
|
|
if i <= 1 {
|
|
1
|
|
} else {
|
|
(fib i - 1) + (fib i - 2)
|
|
}
|
|
}
|
|
|
|
(fib 5)
|