Skip to content

Instantly share code, notes, and snippets.

@elbrujohalcon
Created March 17, 2010 14:47
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 elbrujohalcon/335308 to your computer and use it in GitHub Desktop.
Save elbrujohalcon/335308 to your computer and use it in GitHub Desktop.
-- Mirá Berna... acá hasta le podés dar formatito bonito.
fib :: Int -> Int
fib 0 = 1
fib 1 = 1
fib n = (fib (n-1) + fib (n-2))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment