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

Niklas Hambüchen mail at nh2.me
Tue Aug 27 08:08:59 CEST 2013


Thanks for your examples.

On 27/08/13 13:59, Albert Y. C. Lai wrote:
> The correct fix is to raise the stack cap, not to avoid using the stack.
> 
> Indeed, ghci raises the stack cap so high I still haven't fathomed where
> it is. This is why you haven't seen a stack overflow in ghci for a long
> time. See, ghci agrees: the correct thing to do is to raise the stack cap.

If I understand this correctly, you agree that the stack size should be
unlimited by default?




More information about the Haskell-Cafe mailing list