[jhc] JHC exception implementation status

Csaba Hruska csaba.hruska at gmail.com
Mon Jan 14 13:39:30 UTC 2019


Hi,

I did not find an explicit statement about the current status of the
implementation of exceptions in JHC.
I've looked the source code have some clue.
To me it seems that

   - GRIN backend only supports fatal ioError.
   The catch function does nothing (probably) because any raise operation
   will halt the program anyway.
   - There is an experimental (and disabled) GHC backend which would map
   JHC catch/raise primps to the corresponding GHC primops.

In short the GHC's async exception system is not implemented and JHC's
current exception system can only halt the program.
Are these assumptions correct?

Regards,
Csaba Hruska
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/jhc/attachments/20190114/012a56e9/attachment.html>


More information about the jhc mailing list