3 lines
32 B
Haskell
3 lines
32 B
Haskell
|
|
fac 0 = 1
|
||
|
|
fac x = x * fac (x-1)
|