Difference between revisions of "FP Solution"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | + | ||
− | + | ||
<div class="mw-collapsible mw-collapsed"> | <div class="mw-collapsible mw-collapsed"> | ||
Some text in the div here. | Some text in the div here. |
Revision as of 10:21, 23 September 2020
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.