Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Depend on mtl >= 2 since it now has Applicative instance for ReaderT,…

… ErrorT, etc.
  • Loading branch information...
commit 630b558b93f24267d2d9bc9b918c7aeac9ad4b3c 1 parent 828a53a
Tony Hannan authored
Showing with 3 additions and 10 deletions.
  1. +1 −8 Control/Monad/Util.hs
  2. +2 −2 mongoDB.cabal
View
9 Control/Monad/Util.hs
@@ -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
View
4 mongoDB.cabal
@@ -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,
Please sign in to comment.
Something went wrong with that request. Please try again.