advanced code snippet search
aflatter on 02/03/09
numbers recursive fibonacci haskell
1 person have marked this snippet as a favorite
fib 0 = (1,0)fib n = (a+b,a) where (a,b) = fib (n-1) fibo n = a where (a,b) = fib n
Report this snippet
You need to login to post a comment.