Proposal: die to System.Exit (and/or Prelude)
Roman Cheplyaka
roma at ro-che.info
Mon Dec 16 11:15:27 UTC 2013
* Herbert Valerio Riedel <hvr at gnu.org> [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.
Roman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://www.haskell.org/pipermail/libraries/attachments/20131216/5e6ae3e2/attachment.sig>
More information about the Libraries
mailing list