handle package:ghc
Perform the given action and call the exception handler if the action
throws a
SourceError. See
SourceError for more
information.
Deprecated: Cleanup is now done by runGhc/runGhcT
Install some default exception handlers and run the inner computation.
Unless you want to handle exceptions yourself, you should wrap this
around the top level of your program. The default handlers output the
error message(s) to stderr and exit cleanly.
Temporarily install standard signal handlers for catching ^C, which
just throw an exception in the current thread.
Process handle of the server
BinHandle that can be used to read the ObjBlocks
Copy remaining bytes from the first Handle to the second one
Optional
FullBinData that can be serialised to disk directly.
See Note [Private fields in ModIface] for when this fields needs to be
cleared (e.g., set to
Nothing).
In-memory byte array representation of a
ModIface.
See Note [Sharing of ModIface] for why we need this.
A partial
ModIface cannot be serialised to disk.
A read-only handle that can be used to deserialise binary data from a
buffer.
The buffer is an unboxed binary array.