Skip to content

Instantly share code, notes, and snippets.

@almet
Created November 16, 2010 23:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save almet/702739 to your computer and use it in GitHub Desktop.
Save almet/702739 to your computer and use it in GitHub Desktop.
fibonacci = fibo 1 1
fibo :: Int -> Int -> [Int]
fibo x y = x:(fibo x+y)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment