8 lines
84 B
Nix
8 lines
84 B
Nix
|
let
|
||
|
fib = n:
|
||
|
if n > 1
|
||
|
then fib (n - 1) + fib (n - 2)
|
||
|
else 1;
|
||
|
in
|
||
|
fib
|