Add `MonadFail` instances
authorhvr <hvr@gnu.org>
Tue, 24 Nov 2015 20:06:03 +0000 (20:06 +0000)
committerhvr <hvr@gnu.org>
Tue, 24 Nov 2015 20:06:03 +0000 (20:06 +0000)
commit3831db033eaa5e4187b5e36898651275b4d68687
tree98fe06c758de9372cdde410c9418d92849d8600b
parente03cd40f414e919811a35560cd43c0509e1f779c
Add `MonadFail` instances

This adds `MonadFail` instances for all `Monad` instances
which explicitly define a `fail` method.
12 files changed:
Control/Monad/Trans/Error.hs
Control/Monad/Trans/Except.hs
Control/Monad/Trans/Identity.hs
Control/Monad/Trans/List.hs
Control/Monad/Trans/Maybe.hs
Control/Monad/Trans/RWS/Lazy.hs
Control/Monad/Trans/RWS/Strict.hs
Control/Monad/Trans/Reader.hs
Control/Monad/Trans/State/Lazy.hs
Control/Monad/Trans/State/Strict.hs
Control/Monad/Trans/Writer/Lazy.hs
Control/Monad/Trans/Writer/Strict.hs