You are viewing a single comment's thread. Return to all comments →
fibs = 0 : 1 : [ a + b | (a, b) <- zip fibs (tail fibs)] fib n = last $ take n fibs
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 →