One of those times when I hugely miss languages with pattern matching/guards.
fact(1) = 1
fact(n) = n * fact(n-1)
Seems much more readable to me. fact(1) = 1
fact(n) = n * fact(n-1)
Seems much more readable to me.No comments yet.