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:
f93467bad7
Branchit
Tagit
master
LaTeX-examples
/
documents
/
Programmierparadigmen
/
scripts
/
haskell
/
fakultaet-akkumulator.hs
fakultaet-akkumulator.hs
111 B
Historia
Raaka
1
2
3
4
5
fakAcc n acc = if (n==0)
then acc
else fakAcc (n-1) (n*acc)
fak n = fakAcc n 1