This commit is contained in:
Oli Sturm
2025-05-08 14:17:31 +01:00
parent 768d01a37d
commit c9c1b53630
9 changed files with 143 additions and 16 deletions
+1 -1
View File
@@ -9,4 +9,4 @@ fact x | x <= 1 = 1
fact' :: Int -> Int
fact' 0 = 1
fact' 1 = 1
fact' x = x * (fact (x - 1))
fact' x = x * (fact' (x - 1))