At 12.38 +0200 0-08-30, Sebastian Rasmussen wrote:
>I would like to notify you of a bug in the Hugs 98 environment.
>
>Prelude> take 1 (reverse [0..])
>zsh: 17627 segmentation fault hugs
>
>Maybe it is also useful to know that I run Hugs 98 at a Sun running
>SunOS 5.7.
I will leave it to the Hugs development team to answer this properly.
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.
What this is means is that you are filling up the parameter stack via
"reverse"; no matter how big the stack is set, it will eventually cause
overflow.
Under UNIX, I think you can set it so that the stack is enlarged at need,
but eventually something must break, and then you must get some kind of
error, like "segmentation fault" or something.
One can always write programs that break memory, because computers are not
Turing machines.
Hans Aberg