1
0
dust/examples/fibonacci.ds
2023-10-13 15:20:20 -04:00

10 lines
90 B
Plaintext

fib = function <i> {
if i <= 1 {
1
} else {
(fib i - 1) + (fib i - 2)
}
}
(fib 5)