6 lines
85 B
Text
6 lines
85 B
Text
#lang rhombus/static
|
|
|
|
fun fib:
|
|
| fib(0): 1
|
|
| fib(1): 1
|
|
| fib(n): fib(n-2) + fib(n-1)
|