mirror of
https://github.com/HigherOrderCO/Kind.git
synced 2024-09-11 20:47:25 +03:00
7 lines
95 B
Plaintext
7 lines
95 B
Plaintext
fib (n: U60) : U60 =
|
|
switch n {
|
|
0: 0
|
|
1: 1
|
|
_: (+ (fib (- n 1)) (fib (- n 2)))
|
|
}
|