I'm doing some tweaking of the Hugs source code, putting in my own primitives:

How can one use exceptions instead of errors in these C source code
functions, so that they can be caught by the Hugs interpreter engine?

That is, I want to write into the C code for these primitives to throw
exceptions, but I want to catch these exceptions by writing Haskell code
around these primitives.

  Hans Aberg



Reply via email to