- Add instances for
Control.Monad.Trans.Writer.CPS
andControl.Monad.Trans.RWS.CPS
fromtransformers
0.5.6 and addControl.Monad.Writer.CPS
andControl.Monad.RWS.CPS
. Control.Monad.Cont
now re-exportsevalCont
andevalContT
- Add
tryError
,withError
,handleError
, andmapError
toControl.Monad.Error.Class
, and re-export fromControl.Monad.Except
. - Remove
Control.Monad.List
andControl.Monad.Error
- Remove instances of deprecated
ListT
andErrorT
Control.Monad.Identity
now re-exportsControl.Monad.Trans.Identity
- Fix a bug in which
Control.Monad.State.Class.modify'
was not as strict in the new state as its counterparts intransformers
- Add a
MonadError () Maybe
instance - Add
liftEither :: MonadError e m => Either e a -> m a
toControl.Monad.Except{.Class}
- Add a
MonadWriter w ((,) w)
instance (when built againstbase-4.9
or later)
- Provide MINIMAL pragmas for
MonadState
,MonadWriter
,MonadReader
- Added a cyclic definition of
ask
in terms ofreader
for consistency withget
/put
vs.state
andtell
vs.writer
- Fix deprecation warnings caused by
transformers
0.4 deprecatingErrorT
. - Added
Control.Monad.Except
in the style of the othermtl
re-export modules
- Fixed a bug caused by the change in how
transformers
0.4 exports its data types. We will now exportrunFooT
for each transformer again!
transformers
0.4 support- Added instances for
ExceptT
- Added
modify'
toControl.Monad.State.*
- Avoid importing
Control.Monad.Instances
on GHC 7.8 to build without deprecation warnings.
- Removed the now-irrelevant
Error
constraint from theMonadError
instance forEither e
.