ref: 5f6738ea543372390b2647d6c9efc153c6f46b8f
dir: /test/fib.myr/
use std
/* checks if recursive functions work. should return 21. */
const fib = {n
if n <= 0
-> 0
elif n == 1
-> 1
else
-> fib(n - 1) + fib(n - 2)
;;
}
const main = {
std.exit(fib(8))
}