[commit: ghc] wip/ttypeable: Message: Import Data.Typeable.TypeRep (7e16c17)
git at git.haskell.org
git at git.haskell.org
Sun Jan 29 20:18:28 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/ttypeable
Link : http://ghc.haskell.org/trac/ghc/changeset/7e16c17a48df6688ddee9360e6522ab2587d6797/ghc
>---------------------------------------------------------------
commit 7e16c17a48df6688ddee9360e6522ab2587d6797
Author: Ben Gamari <ben at smart-cactus.org>
Date: Wed Mar 16 10:35:59 2016 +0100
Message: Import Data.Typeable.TypeRep
>---------------------------------------------------------------
7e16c17a48df6688ddee9360e6522ab2587d6797
libraries/ghci/GHCi/Message.hs | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/libraries/ghci/GHCi/Message.hs b/libraries/ghci/GHCi/Message.hs
index fe4e95e..9e8286c 100644
--- a/libraries/ghci/GHCi/Message.hs
+++ b/libraries/ghci/GHCi/Message.hs
@@ -39,6 +39,10 @@ import Data.ByteString (ByteString)
import qualified Data.ByteString as B
import qualified Data.ByteString.Lazy as LB
import Data.Dynamic
+#if MIN_VERSION_base(4,9,0)
+-- Previously this was re-exported by Data.Dynamic
+import Data.Typeable (TypeRep)
+#endif
import Data.IORef
import Data.Map (Map)
import GHC.Generics
More information about the ghc-commits
mailing list