10 lines
92 B
Plaintext
10 lines
92 B
Plaintext
fib = (i <int>) <int> {
|
|
if i <= 1 {
|
|
1
|
|
} else {
|
|
self(i - 1) + self(i - 2)
|
|
}
|
|
}
|
|
|
|
fib(8)
|