zlacker
[parent]
[thread]
0 comments
1. tromp+(OP)
[view]
[source]
2019-11-11 10:51:31
digitLength n = if n < 10 then 1 else 1 + digitLength (n / 10)
Avoiding loops by recursion is no worse than avoiding loops by calling a looping library function...
[go to top]