| When loading a program into the Hugs Interpreter (Version 1.4) I get the
| following error meassage
| 
|   ERROR "EsmCheck.hs": Instance storage space exhausted
| 
| Does anybody know how to fix this problem?
| Do I have to compile a new version of Hugs with more memory for the
| instance storage section?

Yes, that's it exactly.  Increase the value of NUM_INSTS in prelude.h
and recompile.

| Does anybody know if there is a list of HUGS error messages (with
| comments)?

There is no definitive list, other than the source code, which probably
isn't at the level you were asking for.  It wouldn't be too difficult to
make an exhaustive list of error messages by greping for ERRMSG, and then
writing explanatory comments for each error that shows up.  I've wanted
to do something like that for a long time, with a facility to display
the relevant explanations from within the interpreter when a particular
error is detected.  Alas, I haven't had the time to do it myself.  With
the new levels of support that we are setting up for Hugs, this might
now be possible in the not too distant future.

All the best,
Mark

Reply via email to