[commit: ghc] ghc-8.2: Don't reference elSupremum in haddock for Lifetime Monoid (3ad58a6)

git at git.haskell.org git at git.haskell.org
Mon Mar 13 21:44:53 UTC 2017


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

On branch  : ghc-8.2
Link       : http://ghc.haskell.org/trac/ghc/changeset/3ad58a6f9b4d0ed8fcbd50f900bffb2cefdaf842/ghc

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

commit 3ad58a6f9b4d0ed8fcbd50f900bffb2cefdaf842
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
    
    (cherry picked from commit 2c78def693c5c7a3f796a64444ffa4a7e2825d59)


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

3ad58a6f9b4d0ed8fcbd50f900bffb2cefdaf842
 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