Commit d6b5bbba authored by judah's avatar judah Committed by GitHub
Browse files

Merge pull request #59 from int-index/monadexception-identityt

Add MonadException IdentityT instance
parents 91f6afd9 cfaeafae
......@@ -33,6 +33,7 @@ import Prelude hiding (catch)
#endif
import Control.Monad(liftM, join)
import Control.Monad.IO.Class
import Control.Monad.Trans.Identity
import Control.Monad.Trans.Reader
import Control.Monad.Trans.State.Strict
import Control.Monad.Trans.Error
......@@ -179,4 +180,4 @@ instance (Monoid w, MonadException m) => MonadException (RWST r w s m) where
. run . (\m -> runRWST m r s))
in fmap (\m -> runRWST m r s) $ f run'
deriving instance MonadException m => MonadException (IdentityT m)
......@@ -52,6 +52,7 @@ Library
TypeSynonymInstances
FlexibleContexts, ExistentialQuantification
ScopedTypeVariables, GeneralizedNewtypeDeriving
StandaloneDeriving
MultiParamTypeClasses, OverlappingInstances
UndecidableInstances
ScopedTypeVariables, CPP, DeriveDataTypeable,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment