[Haskell-cafe] Haskell maximum stack depth

Luke Palmer lrpalmer at gmail.com
Tue Feb 5 13:57:18 EST 2008

On Feb 5, 2008 6:50 PM, Adrian Hey <ahey at iee.org> wrote:
> Luke Palmer wrote:
> > 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.
> If you mean an example of coding style and choice of stack vs. heap,
> I already have..
>   http://www.haskell.org/pipermail/haskell-cafe/2008-January/038832.html

Ah, sorry, I must have missed that message.


More information about the Haskell-Cafe mailing list