Tail recursion: Difference between revisions

Content deleted Content added
Line 26:
(if (zero? i)
acc
(fact (sub1- i 1) (* acc i))))
(assertion-violation
'factorial "invalid argument" n))))