You are viewing a single comment's thread. Return to all comments →
That's a simple haskell solution which matches the fibonacci formula:
fib 1 = 0 fib 2 = 1 fib n = fib(n-1) + fib(n-2)
Seems like cookies are disabled on this browser, please enable them to open this website
Fibonacci Numbers
You are viewing a single comment's thread. Return to all comments →
That's a simple haskell solution which matches the fibonacci formula: