[Haskell-cafe] Haskell maximum stack depth

Luke Palmer lrpalmer at gmail.com
Tue Feb 5 09:07:09 EST 2008


On Feb 5, 2008 2:50 AM, Adrian Hey <ahey at iee.org> wrote:
> I think it bites a lot less often than it otherwise would because most
> people will deliberately chose to use heap in preference to stack (at
> least when writing "eager" code) just to avoid the problem. But it still
> bites pretty often anyway with "lazy" code for unexpected reasons.
> Arguably such situations are indeed a "bug" more often than not, but
> I still think terminating the program unnecessarily (at 8M stack) is
> bad default policy.

Please, after all this, do give an example.

Luke


More information about the Haskell-Cafe mailing list