Sebastian Rasmussen wrote:
> >Prelude> take 1 (reverse [0..])
> >zsh: 17627 segmentation fault hugs
Hans Aberg:
> But I do not think this is a bug; if I put it into Mac Hugs, I get after a
> while:
> INTERNAL ERROR: Application parameter stack overflow.
I disagree.
If I run it on GHC, I get a proper stack overflow message.
If I run it on Mac-Hugs, I get a proper stack overflow message.
I'll bet that if I ran it on nhc or hbc, I'd get a proper stack
overflow message.
So I'd classify this as a bug. It just happens to be one that is hard
to fix on Unix without extensive changes to Hugs innards. (Unless
someone out there happens to have experience in trapping (and, most
importantly, recovering from) stack overflows in one or more Unixen?)
A