I read a posting claims foldl
may occur stack overflow easily. And the posting sample code was:
maximum [1..1000000]
The code doesn't overflown in my machine. However it can vary by environment. I increased number like this:
maximum [1..1000000000]
it caused hard disk swapping, so I have to stop evaluation. Sample code is not important. Is it really occur stack overflow? Or just an old days story?