base: Add new Control.Monad.Fail module (re #10751)

Authored by hvr on Nov 3 2015, 3:40 PM.

Description

base: Add new Control.Monad.Fail module (re Trac #10751)

This is based on David's initial patch augmented by more extensive
Haddock comments.

This has been broken out of D1248 to reduce its size
by splitting the patch into smaller logical pieces.

On its own, this new module does nothing interesting yet.
Later patches will add support for a different desugaring of
do-blocks, at which point the new MonadFail class will
become more useful.

Reviewed By: ekmett, austin

Differential Revision: https://phabricator.haskell.org/D1424

Details

Committed
hvrNov 3 2015, 3:40 PM
Pushed
bgamariAug 25 2016, 1:39 PM
Reviewer
ekmett
Differential Revision
D1424: base: Add new Control.Monad.Fail module
Parents
rGHCDIFF83fd2bafe1e9: base: Add changelog entry for 4.8.2.0
Branches
Unknown
Tags
Unknown