27 Jan
2010
27 Jan
'10
1:19 p.m.
On Wed, 27 Jan 2010 03:48:47 +0100 Volker Wysk <vw@volker-wysk.de> wrote:
I'm porting my HsShellScript library from GHC-6.8 to GHC-6.10. I'm catching an ExitException in the old version.
The only occurence of ExitException in the GHC 6.10 libraries is in Control.OldException. So how is this done in GHC 6.10+ ? What replaces the old ExitException?
I'm answering my own question: exitWith throws the ExitCode when it is called. This leads to the shutdown of the program, if it isn't caught. Just like ExitException. This isn't documented. Cheers, Volker -- Volker Wysk <pf3@volker-wysk.de>