3 lines
79 B
Text
3 lines
79 B
Text
|
|
fun fib_rec(n: int): int =
|
||
|
|
if n >= 2 then fib_rec(n-1) + fib_rec(n-2) else n
|