This website works better with JavaScript
Etusivu
Tutki
Apua
Kirjaudu sisään
radu
/
LaTeX-examples
Tarkkaile
1
Äänestä
0
Fork
0
Tiedostot
Ongelmat
0
Pull-pyynnöt
0
Wiki
Puu:
b74de7b8da
Branchit
Tagit
master
LaTeX-examples
/
documents
/
Programmierparadigmen
/
scripts
/
haskell
/
fibonacci.hs
fibonacci.hs
87 B
Historia
Raaka
1
2
3
4
fib n
| (n == 0) = 0
| (n == 1) = 1
| otherwise = fib (n - 1) + fib (n - 2)