This website works better with JavaScript
Home
Explore
Help
Sign In
radu
/
LaTeX-examples
Watch
1
Star
0
Fork
0
Files
Issues
0
Pull Requests
0
Wiki
Tree:
7e76256e4e
Branches
Tags
master
LaTeX-examples
/
documents
/
Programmierparadigmen
/
scripts
/
haskell
/
fibonacci.hs
fibonacci.hs
87 B
History
Raw
1
2
3
4
fib n
| (n == 0) = 0
| (n == 1) = 1
| otherwise = fib (n - 1) + fib (n - 2)