Factorial: Difference between revisions
→Soda: Tail recursive
Not a robot (talk | contribs) (Add Refal) |
(→Soda: Tail recursive) |
||
Line 9,744:
===Tail recursive===
<syntaxhighlight lang="soda">
_tailrec_fact (n : Int) (accum : Int) : Int =
if n < 2
|