Skip to content

Instantly share code, notes, and snippets.

@ThomasCrevoisier
Created May 13, 2015 11:01
Show Gist options
  • Save ThomasCrevoisier/a1651439993b6c165767 to your computer and use it in GitHub Desktop.
Save ThomasCrevoisier/a1651439993b6c165767 to your computer and use it in GitHub Desktop.
Fibonacci
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