[commit: ghc] wip/nfs-locking: Re-export Dynamic and Typeable bits (d2ca01b)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:38:21 UTC 2017


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

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/d2ca01bbdf7354c0e88af711696ac333040d2374/ghc

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

commit d2ca01bbdf7354c0e88af711696ac333040d2374
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Tue Aug 15 02:11:02 2017 +0100

    Re-export Dynamic and Typeable bits


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

d2ca01bbdf7354c0e88af711696ac333040d2374
 src/CommandLine.hs       | 2 --
 src/Hadrian/Utilities.hs | 5 ++++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/CommandLine.hs b/src/CommandLine.hs
index dbcf41f..5688d6f 100644
--- a/src/CommandLine.hs
+++ b/src/CommandLine.hs
@@ -3,11 +3,9 @@ module CommandLine (
     cmdProgressColour, cmdProgressInfo, cmdSkipConfigure, cmdSplitObjects
     ) where
 
-import Data.Dynamic (Dynamic)
 import Data.Either
 import qualified Data.HashMap.Strict as Map
 import Data.List.Extra
-import Data.Typeable (TypeRep)
 import Development.Shake hiding (Normal)
 import Hadrian.Utilities
 import System.Console.GetOpt
diff --git a/src/Hadrian/Utilities.hs b/src/Hadrian/Utilities.hs
index 0791d44..74c10b4 100644
--- a/src/Hadrian/Utilities.hs
+++ b/src/Hadrian/Utilities.hs
@@ -19,7 +19,10 @@ module Hadrian.Utilities (
     UseColour (..), putColoured, BuildProgressColour (..), putBuild,
     SuccessColour (..), putSuccess, ProgressInfo (..),
     putProgressInfo, renderAction, renderProgram, renderLibrary, renderBox,
-    renderUnicorn
+    renderUnicorn,
+
+    -- * Useful re-exports
+    Dynamic, fromDynamic, toDyn, TypeRep, typeOf
     ) where
 
 import Control.Monad.Extra



More information about the ghc-commits mailing list