FP Solution

From Marek Běhálek Wiki
Revision as of 12:45, 23 September 2020 by Beh01 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
fact1 :: Int -> Int
fact1 0 = 1
fact1 n = n * fact1 (n-1)


Some text in the div here.

fact1 :: Int -> Int
fact1 0 = 1
fact1 n = n * fact1 (n-1)

Some more text in the div.

Show solution

Some text in the div here.

fact1 :: Int -> Int
fact1 0 = 1
fact1 n = n * fact1 (n-1)

Some more text in the div.