On Wed, 27 Jan 2010 03:48:47 +0100 Volker Wysk <v...@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 <p...@volker-wysk.de> _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users