Created
September 15, 2019 05:05
-
-
Save perjerz/5a7d8e07a40959ff76e4b42e204c0c2f to your computer and use it in GitHub Desktop.
ajarn dave haskell
This file contains 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
fibonacci :: Int -> Int | |
fibonacci 0 = 1 | |
fibonacci 1 = 1 | |
fibonacci n = fibonacci(n-2) + fibonacci(n-1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment