6 lines
91 B
Text
6 lines
91 B
Text
val fib =
|
|
def _fib( a, b ) = a # _fib( b, a + b )
|
|
|
|
_fib( 0, 1 )
|
|
|
|
println( fib(10000) )
|