[commit: ghc] wip/nfs-locking: Rename Settings.hs to Settings/Args.hs. (d9b03d3)

git at git.haskell.org git at git.haskell.org
Thu Oct 26 23:13:08 UTC 2017


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

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

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

commit d9b03d37d49ecbd2db59fd242692727488ef92dd
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Wed Jul 15 23:49:10 2015 +0200

    Rename Settings.hs to Settings/Args.hs.


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

d9b03d37d49ecbd2db59fd242692727488ef92dd
 src/Oracles/ArgsHash.hs               | 4 ++--
 src/Rules/Actions.hs                  | 2 +-
 src/{Settings.hs => Settings/Args.hs} | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/Oracles/ArgsHash.hs b/src/Oracles/ArgsHash.hs
index acb3e98..b930ef6 100644
--- a/src/Oracles/ArgsHash.hs
+++ b/src/Oracles/ArgsHash.hs
@@ -4,10 +4,10 @@ module Oracles.ArgsHash (
     ArgsHashKey (..), askArgsHash, argsHashOracle
     ) where
 
-import Development.Shake.Classes
 import Base
-import Settings
 import Expression
+import Settings.Args
+import Development.Shake.Classes
 
 newtype ArgsHashKey = ArgsHashKey FullTarget
                       deriving (Show, Typeable, Eq, Hashable, Binary, NFData)
diff --git a/src/Rules/Actions.hs b/src/Rules/Actions.hs
index d29d486..e4688dc 100644
--- a/src/Rules/Actions.hs
+++ b/src/Rules/Actions.hs
@@ -5,8 +5,8 @@ module Rules.Actions (
 import Base
 import Util
 import Builder
-import Settings
 import Expression
+import Settings.Args
 import Oracles.ArgsHash
 
 -- Build a given target using an appropriate builder. Force a rebuilt if the
diff --git a/src/Settings.hs b/src/Settings/Args.hs
similarity index 92%
rename from src/Settings.hs
rename to src/Settings/Args.hs
index 196f4d7..cc7a22c 100644
--- a/src/Settings.hs
+++ b/src/Settings/Args.hs
@@ -1,4 +1,4 @@
-module Settings (
+module Settings.Args (
     args
     ) where
 



More information about the ghc-commits mailing list