Good evening, morning, ...
I /know/ that what I do should generate a runtime error; but I didn't
expect the hugs
interpreter (the Februari 2000 version) error message to end with a "out
of memory"
message:
Definition:
unlist [x] = x
>From the interpreter prompt call:
unlist [1..3]
results: ``endless'' scrolling error message, ending with:
[...]
(Make.Ord instEq_v30 primCmpInteger (Ord_default_compare (Make.Ord
instEq_v30 primCmpInteger (Ord_default_compare (Make.Ord instEq_v30
ERROR: Garbage collection fails to reclaim sufficient space
This doesn't look like desired behaviour to me, but in my opinion it
isn't someting
that needs to be fixed soon; adding error handling to the program:
unlist _ = error "blah blah"
makes things work as they should.
Greetings,
Peter Roozemaal, [EMAIL PROTECTED]
P.S. if the english is bad... it's past midnight and I'm not a native
speaker.
P.P.S. keep up the good work on hugs!