Modifyied both nhc98 runtime system and hat library to cat

1 May
2002
1 May
'02
12:06 p.m.
olaf: Wed May 1 18:06:21 CEST 2002 Update of /usr/src/master/nhc/include In directory hinken:/tmp/cvs-serv7940/include Modified Files: runtime.h Log Message: Modifyied both nhc98 runtime system and hat library to catch runtime errors. The nhc98 runtime system now has the global variable void (*haskellErrorHandler)(char *errorMsg) = NULL; If it is not null, it will be called for runtime errors that are not handled by Haskell's "error"; i.e. currently "out of heap" and "black hole". The hat_open function sets haskellErrorHandler to an appropriate function that writes the error message to the trace and closes it. (only if compiled for nhc98) Also added handling of arithmetic error signals to the hat library.
8420
Age (days ago)
8420
Last active (days ago)
0 comments
1 participants
participants (1)
-
olaf@sparud.net