Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Directly depend on transformers instead of mtl

Reportedly, this makes cabal happier
  • Loading branch information...
commit f7590c5952f66fe986a9d12e9daf8de744b3fc5f 1 parent c0d092f
@maltem maltem authored
Showing with 6 additions and 5 deletions.
  1. +2 −1  Codec/Zlib/Enum.hs
  2. +1 −1  test.hs
  3. +3 −3 zlib-enum.cabal
View
3  Codec/Zlib/Enum.hs
@@ -8,7 +8,8 @@ module Codec.Zlib.Enum (
import Codec.Zlib
import Data.Enumerator as E
import qualified Data.Enumerator.List as EL
-import Control.Monad.Trans (MonadIO, liftIO, lift)
+import Control.Monad.Trans.Class (lift)
+import Control.Monad.IO.Class (MonadIO, liftIO)
import Data.ByteString (ByteString)
-- | Gzip compression with default parameters.
View
2  test.hs
@@ -34,7 +34,7 @@ import qualified Data.Enumerator.List as EL
import qualified Data.Enumerator.Binary as EB
import Control.Monad (foldM)
-import Control.Monad.Trans (MonadIO (..))
+import Control.Monad.IO.Class (MonadIO (..))
import Control.Exception (bracket)
import Codec.Zlib
View
6 zlib-enum.cabal
@@ -2,7 +2,7 @@ name: zlib-enum
version: 0.1
license: MIT
license-file: LICENSE
-author: Malte Sommerkorn <malte.sommerkorn@googlemail.com>
+author: Paulo Tanimoto <ptanimoto@gmail.com>
maintainer: Malte Sommerkorn <malte.sommerkorn@googlemail.com>
synopsis: Enumerator interface for zlib compression
description: zlib-enum is a stop-gap package to provide enumeratees for
@@ -24,7 +24,7 @@ library
Buildable: False
build-depends: base >= 4 && < 5
, bytestring
- , mtl >= 2
+ , transformers == 0.2.*
, enumerator >= 0.4
, zlib-bindings
exposed-modules: Codec.Zlib.Enum
@@ -38,7 +38,7 @@ executable zlib-enum-test
build-depends:
base >= 4.0 && < 5.0
, bytestring >= 0.9 && < 0.10
- , mtl >= 2.0 && < 2.1
+ , transformers == 0.2.*
, enumerator >= 0.4 && < 0.5
, zlib-bindings >= 0.0 && < 0.1
, process >= 1.0 && < 1.1
Please sign in to comment.
Something went wrong with that request. Please try again.