[Haskell-cafe] sequence causing stack overflow on pretty small lists

Niklas Hambüchen mail at nh2.me
Tue Aug 27 05:51:12 CEST 2013


Maybe an unlimited stack size should be the default?

As far as I understand, the only negative effect would be that some
programming mistakes would not result in a stack overflow. However, I
doubt the usefulness of that:

* It already depends a lot on the optimisation level
* If you do the same thing in a slightly different way, and you allocate
on the heap instead of on the stack you will not get it either




More information about the Haskell-Cafe mailing list