Created
May 13, 2015 11:01
-
-
Save ThomasCrevoisier/a1651439993b6c165767 to your computer and use it in GitHub Desktop.
Fibonacci
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fibs2 :: [Integer] | |
fibs2 = 1 : 1 : zipWith (\a b -> a + b) fibs2 (tail fibs2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment