[commit: ghc] wip/T14677: reduce line noise (f189227)

git at git.haskell.org git at git.haskell.org
Sun Mar 31 15:09:03 UTC 2019


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

On branch  : wip/T14677
Link       : http://ghc.haskell.org/trac/ghc/changeset/f1892272ab54c256ae86f647d130b59cbdae6288/ghc

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

commit f1892272ab54c256ae86f647d130b59cbdae6288
Author: Gabor Greif <ggreif at gmail.com>
Date:   Wed Jan 16 10:33:05 2019 +0100

    reduce line noise


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

f1892272ab54c256ae86f647d130b59cbdae6288
 libraries/base/GHC/Event/Internal.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libraries/base/GHC/Event/Internal.hs b/libraries/base/GHC/Event/Internal.hs
index 57cb293..afe880b 100644
--- a/libraries/base/GHC/Event/Internal.hs
+++ b/libraries/base/GHC/Event/Internal.hs
@@ -58,7 +58,7 @@ evtClose :: Event
 evtClose = Event 4
 
 eventIs :: Event -> Event -> Bool
-eventIs (Event a) (Event b) = a .&. b /= 0
+Event a `eventIs` Event b = a .&. b /= 0
 
 -- | @since 4.4.0.0
 instance Show Event where



More information about the ghc-commits mailing list