Permalink
Browse files

Depend on transformers instead of mtl.

  • Loading branch information...
1 parent 740a9f3 commit 2caecb41705d335db80ce1c16a6d02134ed6a619 @pcapriotti committed Apr 9, 2012
@@ -11,7 +11,7 @@ module Control.Pipe.Conduit (
) where
import Control.Monad (void)
-import Control.Monad.Trans
+import Control.Monad.Trans.Class
import Control.Monad.Trans.Resource
import Control.Pipe
import Control.Pipe.Combinators
@@ -20,6 +20,6 @@ Library
Exposed-modules: Control.Pipe.Conduit
Build-depends:
base (== 4.*),
- mtl,
+ transformers (== 0.2.*),
pipes-core (== 0.1.*),
conduit (== 0.2.*)
@@ -15,7 +15,8 @@ module Control.Pipe.Binary (
) where
import Control.Monad
-import Control.Monad.Trans (MonadIO, liftIO, lift)
+import Control.Monad.IO.Class
+import Control.Monad.Trans.Class
import Control.Pipe
import Control.Pipe.Exception
import Control.Pipe.Combinators (tryAwait, feed)
@@ -19,7 +19,8 @@ module Control.Pipe.PutbackPipe (
import Control.Applicative
import Control.Monad
-import Control.Monad.Trans
+import Control.Monad.IO.Class
+import Control.Monad.Trans.Class
import qualified Control.Pipe as P
import Control.Pipe ((>+>), Pipe)
import qualified Control.Pipe.Combinators as PC
@@ -17,10 +17,10 @@ module Control.Pipe.Tee (
teeFileBS
) where
-import Control.Monad.Trans (MonadIO(..))
+import Control.Monad.IO.Class
import Control.Pipe
-import Control.Pipe.Binary (fileWriter)
-import Data.ByteString (ByteString)
+import Control.Pipe.Binary
+import Data.ByteString
-- | Acts like 'idP', but also passes a copy to the supplied consumer.
tee :: (Monad m)
@@ -19,7 +19,7 @@ Source-Repository head
Library
Build-Depends:
base (== 4.*),
- mtl,
+ transformers (>= 0.2 && < 0.4),
pipes-core (== 0.1.*),
bytestring (== 0.9.*)
Exposed-Modules:
@@ -17,7 +17,8 @@ import qualified Data.ByteString as B
import Control.Concurrent (forkIO)
import qualified Control.Exception as E
import Control.Monad (forever, unless)
-import Control.Monad.Trans (MonadIO, liftIO, lift)
+import Control.Monad.IO.Class
+import Control.Monad.Trans.Class
import Control.Pipe
-- adapted from conduit
@@ -19,7 +19,7 @@ Source-Repository head
Library
Build-Depends:
base (== 4.*),
- mtl,
+ transformers (>= 0.2 && < 0.4),
pipes-core (== 0.1.*),
bytestring (== 0.9.*),
network
@@ -12,7 +12,8 @@ module Control.Pipe.Zlib (
import Codec.Zlib
import Control.Exception (SomeException)
import Control.Monad
-import Control.Monad.Trans (MonadIO, liftIO, lift)
+import Control.Monad.IO.Class
+import Control.Monad.Trans.Class
import Control.Pipe
import Control.Pipe.Combinators
import Control.Pipe.Exception
@@ -19,9 +19,9 @@ Source-Repository head
Library
Build-Depends:
base (== 4.*),
- mtl,
+ transformers (>= 0.2 && < 0.4),
pipes-core (== 0.1.*),
bytestring (== 0.9.*),
- zlib-bindings
+ zlib-bindings (== 0.0.*)
Exposed-Modules:
Control.Pipe.Zlib

0 comments on commit 2caecb4

Please sign in to comment.