Re: crash at infinite recursion

Hans Aberg <[email protected]>
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Message-ID <v0311070bbbb1ec841688@[62.127.86.128]>
At 13:31 +0200 2003/10/14, Felix Hummel wrote:
>Hugs98 Version: Nov 2002 crashes when evaluating the following line
>
>    let x = x+1 in x
>
>Of course this line is quite stupid, but none the less the interpreter
>should not crash...

This is not a bug, but a feature: :-)

It is up to the each implementation, typically the OS to pick up memory
overflows.

The MacOS pre-X version Pablo and I made has some code installed that
resets it when memory overflows.

  Hans Aberg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.