[commit: ghc] wip/nfs-locking: Minor revision (comments, whitespace). (cedbb79)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:02:08 UTC 2017


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

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

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

commit cedbb7953afda4348a27cdd0b96af895e84e34e6
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Thu Jan 7 22:52:46 2016 +0000

    Minor revision (comments, whitespace).
    
    [skip ci]


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

cedbb7953afda4348a27cdd0b96af895e84e34e6
 src/Predicates.hs | 4 +++-
 src/Way.hs        | 8 ++++----
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/src/Predicates.hs b/src/Predicates.hs
index b5ce0cb..497fca5 100644
--- a/src/Predicates.hs
+++ b/src/Predicates.hs
@@ -61,6 +61,8 @@ notStage0 = notM stage0
 notPackage :: Package -> Predicate
 notPackage = notM . package
 
--- | TODO: Actually, we don't register compiler in some circumstances -- fix.
+-- TODO: Actually, we don't register compiler in some circumstances -- fix.
+-- | Do we need to run @ghc-pkg update@ on the currently built package?
+-- See "Rules.Data".
 registerPackage :: Predicate
 registerPackage = return True
diff --git a/src/Way.hs b/src/Way.hs
index 9f7f12a..3b1f6c0 100644
--- a/src/Way.hs
+++ b/src/Way.hs
@@ -82,7 +82,7 @@ instance Eq Way where
 
 -- | Build with no 'WayUnit's at all.
 vanilla :: Way
-vanilla   = wayFromUnits []
+vanilla = wayFromUnits []
 
 -- | Build with profiling.
 profiling :: Way
@@ -90,14 +90,14 @@ profiling = wayFromUnits [Profiling]
 
 -- | Build with logging.
 logging :: Way
-logging   = wayFromUnits [Logging]
+logging = wayFromUnits [Logging]
 
 -- | Build in parallel.
 parallel :: Way
-parallel  = wayFromUnits [Parallel]
+parallel = wayFromUnits [Parallel]
 
 granSim :: Way
-granSim   = wayFromUnits [GranSim]
+granSim = wayFromUnits [GranSim]
 
 -- RTS only ways
 -- TODO: do we need to define *only* these? Shall we generalise/simplify?



More information about the ghc-commits mailing list