Depend on mtl >= 2 since it now has Applicative instance for ReaderT, ErrorT, etc.
This commit is contained in:
parent
828a53a4a1
commit
630b558b93
2 changed files with 3 additions and 10 deletions
|
@ -9,14 +9,7 @@ import Control.Arrow ((+++))
|
|||
import Control.Monad.Reader
|
||||
import Control.Monad.Error
|
||||
|
||||
instance (Monad m) => Applicative (ReaderT r m) where
|
||||
pure = return
|
||||
(<*>) = ap
|
||||
|
||||
instance (Monad m, Error e) => Applicative (ErrorT e m) where
|
||||
pure = return
|
||||
(<*>) = ap
|
||||
|
||||
-- | MonadIO with extra Applicative and Functor superclasses
|
||||
class (MonadIO m, Applicative m, Functor m) => MonadIO' m
|
||||
instance (MonadIO m, Applicative m, Functor m) => MonadIO' m
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
name: mongoDB
|
||||
version: 0.8
|
||||
version: 0.8.1
|
||||
build-type: Simple
|
||||
license: OtherLicense
|
||||
license-file: LICENSE
|
||||
|
@ -12,7 +12,7 @@ build-depends:
|
|||
bson -any,
|
||||
bytestring -any,
|
||||
containers -any,
|
||||
mtl -any,
|
||||
mtl >= 2,
|
||||
nano-md5 -any,
|
||||
network -any,
|
||||
parsec -any,
|
||||
|
|
Loading…
Reference in a new issue