
27 Aug
2013
27 Aug
'13
2:08 a.m.
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?