forked from AbleOS/holey-bytes
12 lines
125 B
Plaintext
12 lines
125 B
Plaintext
|
|
||
|
main := ||: int {
|
||
|
return fib(10);
|
||
|
}
|
||
|
|
||
|
fib := |x: int|: int {
|
||
|
if x <= 2 {
|
||
|
return 1;
|
||
|
}
|
||
|
return fib(x - 1) + fib(x - 2);
|
||
|
}
|