25 lines
226 B
Plaintext
25 lines
226 B
Plaintext
|
|
||
|
|
||
|
fn hella(x)
|
||
|
print("hey")
|
||
|
if x == 3 then
|
||
|
Null
|
||
|
else
|
||
|
hella(x + 1)
|
||
|
end
|
||
|
end
|
||
|
|
||
|
hella(0)
|
||
|
|
||
|
|
||
|
|
||
|
fn fib(x)
|
||
|
if x < 3 then
|
||
|
1
|
||
|
else
|
||
|
fib(x - 1) + fib(x - 2)
|
||
|
end
|
||
|
end
|
||
|
|
||
|
fib(10)
|