[commit: packages/haskeline] master: Add support for transformers-0.4.0.0 (11c47ff)

git at git.haskell.org git at git.haskell.org
Wed May 7 17:19:42 UTC 2014


Repository : ssh://git@git.haskell.org/haskeline

On branch  : master
Link       : http://git.haskell.org/packages/haskeline.git/commitdiff/11c47ff4306891b0b37e9c77bce9da9f617cb652

>---------------------------------------------------------------

commit 11c47ff4306891b0b37e9c77bce9da9f617cb652
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Tue May 6 23:11:08 2014 +0200

    Add support for transformers-0.4.0.0


>---------------------------------------------------------------

11c47ff4306891b0b37e9c77bce9da9f617cb652
 System/Console/Haskeline/Monads.hs | 8 +++++---
 haskeline.cabal                    | 2 +-
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/System/Console/Haskeline/Monads.hs b/System/Console/Haskeline/Monads.hs
index 0433971..6668e96 100644
--- a/System/Console/Haskeline/Monads.hs
+++ b/System/Console/Haskeline/Monads.hs
@@ -2,7 +2,8 @@ module System.Console.Haskeline.Monads(
                 module System.Console.Haskeline.MonadException,
                 MonadTrans(..),
                 MonadIO(..),
-                ReaderT(..),
+                ReaderT,
+                runReaderT,
                 runReaderT',
                 mapReaderT,
                 asks,
@@ -15,7 +16,8 @@ module System.Console.Haskeline.Monads(
                 update,
                 MonadReader(..),
                 MonadState(..),
-                MaybeT(..),
+                MaybeT(MaybeT),
+                runMaybeT,
                 orElse
                 ) where
 
@@ -23,7 +25,7 @@ import Control.Applicative (Applicative(..))
 import Control.Monad (ap, liftM)
 import Control.Monad.IO.Class (MonadIO(..))
 import Control.Monad.Trans.Class (MonadTrans(..))
-import Control.Monad.Trans.Maybe (MaybeT(..))
+import Control.Monad.Trans.Maybe (MaybeT(MaybeT),runMaybeT)
 import Control.Monad.Trans.Reader hiding (ask,asks)
 import qualified Control.Monad.Trans.Reader as Reader
 import Data.IORef
diff --git a/haskeline.cabal b/haskeline.cabal
index 311979b..c26768f 100644
--- a/haskeline.cabal
+++ b/haskeline.cabal
@@ -52,7 +52,7 @@ flag legacy-encoding
 Library
     Build-depends: base >=4.3 && < 4.8, containers>=0.4 && < 0.6,
                    directory>=1.1 && < 1.3, bytestring>=0.9 && < 0.11,
-                   filepath >= 1.2 && < 1.4, transformers >= 0.2 && < 0.4
+                   filepath >= 1.2 && < 1.4, transformers >= 0.2 && < 0.5
     Default-Language: Haskell98
     Default-Extensions: 
                 ForeignFunctionInterface, Rank2Types, FlexibleInstances,



More information about the ghc-commits mailing list