[commit: ghc] master: Don't reference elSupremum in haddock for Lifetime Monoid (2c78def)

git at git.haskell.org git at git.haskell.org
Mon Mar 13 18:34:51 UTC 2017


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/2c78def693c5c7a3f796a64444ffa4a7e2825d59/ghc

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

commit 2c78def693c5c7a3f796a64444ffa4a7e2825d59
Author: Chris Martin <ch.martin at gmail.com>
Date:   Sun Mar 12 15:15:17 2017 -0400

    Don't reference elSupremum in haddock for Lifetime Monoid
    
    Reviewers: austin, hvr, bgamari, RyanGlScott
    
    Reviewed By: RyanGlScott
    
    Subscribers: RyanGlScott, rwbarton, thomie
    
    Differential Revision: https://phabricator.haskell.org/D3325


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

2c78def693c5c7a3f796a64444ffa4a7e2825d59
 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 7024714..f6eb8ef 100644
--- a/libraries/base/GHC/Event/Internal.hs
+++ b/libraries/base/GHC/Event/Internal.hs
@@ -99,7 +99,7 @@ elSupremum OneShot OneShot = OneShot
 elSupremum _       _       = MultiShot
 {-# INLINE elSupremum #-}
 
--- | @mappend@ == @elSupremum@
+-- | @mappend@ takes the longer of two lifetimes.
 --
 -- @since 4.8.0.0
 instance Monoid Lifetime where



More information about the ghc-commits mailing list