
19 Apr
2005
19 Apr
'05
10:37 a.m.
I've always thought that compilers for functional languages were able to recognize tail recursion and to transform it into a loop. So, why this line eats all my machine's memory (and then runs out of stack space)? sum [1..10000000] -- ten millions Enrico