Proposal: die to System.Exit (and/or Prelude)

Roman Cheplyaka roma at
Mon Dec 16 11:15:27 UTC 2013

* Herbert Valerio Riedel <hvr at> [2013-12-16 10:53:21+0100]
> Why not simply use the existing `fail :: String -> IO a` method instead?

The purpose of 'fail' is to handle monadic pattern-match failures.
I consider explicit use of 'fail' in user code a hack.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <>

More information about the Libraries mailing list