[commit: ghc] wip/nfs-locking: Make imports fully qualified (2ba641b)

git at git.haskell.org git at git.haskell.org
Thu Oct 26 23:44:10 UTC 2017


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

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

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

commit 2ba641b3d7d4aa8a84ab96a847208a7e79760496
Author: David Luposchainsky <dluposchainsky at gmail.com>
Date:   Thu Jan 7 19:12:17 2016 +0100

    Make imports fully qualified


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

2ba641b3d7d4aa8a84ab96a847208a7e79760496
 src/Main.hs | 37 ++++++++++++++++++-------------------
 1 file changed, 18 insertions(+), 19 deletions(-)

diff --git a/src/Main.hs b/src/Main.hs
index b30b38e..1710b39 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -2,30 +2,29 @@ module Main (main) where
 
 import Development.Shake
 
-import qualified Base             as B
-import qualified Rules            as R
-import qualified Rules.Cabal      as RCabal
-import qualified Rules.Config     as RConfig
-import qualified Rules.Copy       as RCopy
-import qualified Rules.Generate   as RGen
-import qualified Rules.IntegerGmp as RInt
-import qualified Rules.Libffi     as RFfi
-import qualified Rules.Oracles    as ROracle
+import qualified Base
+import qualified Rules
+import qualified Rules.Cabal
+import qualified Rules.Config
+import qualified Rules.Generate
+import qualified Rules.IntegerGmp
+import qualified Rules.Libffi
+import qualified Rules.Oracles
 
 main :: IO ()
 main = shakeArgs options rules
   where
     rules = mconcat
-        [ RCabal.cabalRules
-        , RConfig.configRules
-        , RCopy.copyRules
-        , R.generateTargets
-        , RGen.generateRules
-        , RFfi.libffiRules
-        , RInt.integerGmpRules
-        , ROracle.oracleRules
-        , R.packageRules ]
+        [ Rules.Cabal.cabalRules
+        , Rules.Config.configRules
+        , Rules.Generate.copyRules
+        , Rules.Generate.generateRules
+        , Rules.generateTargets
+        , Rules.IntegerGmp.integerGmpRules
+        , Rules.Libffi.libffiRules
+        , Rules.Oracles.oracleRules
+        , Rules.packageRules ]
     options = shakeOptions
-        { shakeFiles    = B.shakeFilesPath
+        { shakeFiles    = Base.shakeFilesPath
         , shakeProgress = progressSimple
         , shakeTimings  = True }



More information about the ghc-commits mailing list