summaryrefslogtreecommitdiff
path: root/ghc
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2012-05-19 12:27:26 +0100
committerIan Lynagh <igloo@earth.li>2012-05-19 12:55:22 +0100
commit0f4925b6dfa40010bbf19e2824224b5a568d4f57 (patch)
tree55e68351d8e670d8ab37a6e2af4786f90bbf7c85 /ghc
parent293475bc48bdb41c2629d752b2cbe2bd49b71571 (diff)
downloadhaskell-0f4925b6dfa40010bbf19e2824224b5a568d4f57.tar.gz
Use transformers directly, rather than using mtl
This means we no longer need mtl in a GHC tree.
Diffstat (limited to 'ghc')
-rw-r--r--ghc/GhciMonad.hs3
-rw-r--r--ghc/InteractiveUI.hs3
-rw-r--r--ghc/ghc-bin.cabal.in2
3 files changed, 5 insertions, 3 deletions
diff --git a/ghc/GhciMonad.hs b/ghc/GhciMonad.hs
index 11d23a6876..fff5ca15aa 100644
--- a/ghc/GhciMonad.hs
+++ b/ghc/GhciMonad.hs
@@ -53,7 +53,8 @@ import GHC.Exts
import System.Console.Haskeline (CompletionFunc, InputT)
import qualified System.Console.Haskeline as Haskeline
-import Control.Monad.Trans as Trans
+import Control.Monad.Trans.Class as Trans
+import Control.Monad.IO.Class as Trans
-----------------------------------------------------------------------------
-- GHCi monad
diff --git a/ghc/InteractiveUI.hs b/ghc/InteractiveUI.hs
index efafd25d23..0688f2b6b7 100644
--- a/ghc/InteractiveUI.hs
+++ b/ghc/InteractiveUI.hs
@@ -58,7 +58,8 @@ import System.Console.Haskeline as Haskeline
import Control.Applicative hiding (empty)
import Control.Monad as Monad
-import Control.Monad.Trans
+import Control.Monad.Trans.Class
+import Control.Monad.IO.Class
import Data.Array
import qualified Data.ByteString.Char8 as BS
diff --git a/ghc/ghc-bin.cabal.in b/ghc/ghc-bin.cabal.in
index 1c898f256f..a7e7bbae66 100644
--- a/ghc/ghc-bin.cabal.in
+++ b/ghc/ghc-bin.cabal.in
@@ -44,7 +44,7 @@ Executable ghc
CPP-Options: -DGHCI
GHC-Options: -fno-warn-name-shadowing
Other-Modules: InteractiveUI, GhciMonad, GhciTags
- Build-Depends: mtl, haskeline
+ Build-Depends: transformers, haskeline
Extensions: ForeignFunctionInterface,
UnboxedTuples,
FlexibleInstances,