[commit: ghc] master: Minor stylistic update. (20e30d5)

git at git.haskell.org git at git.haskell.org
Thu Oct 15 04:38:41 UTC 2015


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/20e30d5f3d932d6393369ed56e4a1518f0ffe60b/ghc

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

commit 20e30d5f3d932d6393369ed56e4a1518f0ffe60b
Author: Edward Z. Yang <ezyang at cs.stanford.edu>
Date:   Wed Oct 14 21:07:03 2015 -0700

    Minor stylistic update.
    
    Signed-off-by: Edward Z. Yang <ezyang at cs.stanford.edu>


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

20e30d5f3d932d6393369ed56e4a1518f0ffe60b
 compiler/main/Packages.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/main/Packages.hs b/compiler/main/Packages.hs
index 0437d17..0e32947 100644
--- a/compiler/main/Packages.hs
+++ b/compiler/main/Packages.hs
@@ -875,7 +875,7 @@ mkPackageState dflags0 pkgs0 preload0 = do
 
       ignored  = ignorePackages ignore_flags pkgs0_unique
 
-      isBroken = (`Map.member` ignored).unitId
+      isBroken = (`Map.member` ignored) . unitId
       pkgs0' = filter (not . isBroken) pkgs0_unique
 
       broken   = findBroken pkgs0'



More information about the ghc-commits mailing list