[commit: ghc] wip/nfs-locking: Use qualified imports. (bd405c1)
git at git.haskell.org
git at git.haskell.org
Fri Oct 27 00:48:28 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/nfs-locking
Link : http://ghc.haskell.org/trac/ghc/changeset/bd405c1006be30c99cb718a30dd779c1462baf61/ghc
>---------------------------------------------------------------
commit bd405c1006be30c99cb718a30dd779c1462baf61
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date: Wed Feb 10 01:03:56 2016 +0000
Use qualified imports.
>---------------------------------------------------------------
bd405c1006be30c99cb718a30dd779c1462baf61
src/Rules/Oracles.hs | 32 ++++++++++++++++++--------------
1 file changed, 18 insertions(+), 14 deletions(-)
diff --git a/src/Rules/Oracles.hs b/src/Rules/Oracles.hs
index 1bc1606..108c5ce 100644
--- a/src/Rules/Oracles.hs
+++ b/src/Rules/Oracles.hs
@@ -1,20 +1,24 @@
module Rules.Oracles (oracleRules) where
import Base
-import Oracles
-import Oracles.ArgsHash
-import Oracles.PackageDb
-import Oracles.ModuleFiles
+import qualified Oracles.Config
+import qualified Oracles.Dependencies
+import qualified Oracles.LookupInPath
+import qualified Oracles.PackageData
+import qualified Oracles.PackageDeps
+import qualified Oracles.WindowsPath
+import qualified Oracles.ArgsHash
+import qualified Oracles.ModuleFiles
+import qualified Oracles.PackageDb
--- TODO: replace comments with qualified imports
oracleRules :: Rules ()
oracleRules = do
- argsHashOracle -- see Oracles.ArgsHash
- configOracle -- see Oracles.Config
- dependenciesOracle -- see Oracles.Dependencies
- lookupInPathOracle -- see Oracles.LookupInPath
- moduleFilesOracle -- see Oracles.ModuleFiles
- packageDataOracle -- see Oracles.PackageData
- packageDbOracle -- see Oracles.PackageData
- packageDepsOracle -- see Oracles.PackageDeps
- windowsPathOracle -- see Oracles.WindowsRoot
+ Oracles.ArgsHash.argsHashOracle
+ Oracles.Config.configOracle
+ Oracles.Dependencies.dependenciesOracle
+ Oracles.LookupInPath.lookupInPathOracle
+ Oracles.ModuleFiles.moduleFilesOracle
+ Oracles.PackageData.packageDataOracle
+ Oracles.PackageDb.packageDbOracle
+ Oracles.PackageDeps.packageDepsOracle
+ Oracles.WindowsPath.windowsPathOracle
More information about the ghc-commits
mailing list