[commit: ghc] ghc-8.2: Maybe Monoid doc: "is no semigroup" -> "used to be no semigroup" (820b88c)

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


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

On branch  : ghc-8.2
Link       : http://ghc.haskell.org/trac/ghc/changeset/820b88c2f91779843792896a1274e7133a31a3cc/ghc

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

commit 820b88c2f91779843792896a1274e7133a31a3cc
Author: Chris Martin <ch.martin at gmail.com>
Date:   Mon Mar 13 15:18:33 2017 -0400

    Maybe Monoid doc: "is no semigroup" -> "used to be no semigroup"
    
    Reviewers: austin, hvr, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: rwbarton, thomie
    
    Differential Revision: https://phabricator.haskell.org/D3312
    
    (cherry picked from commit 72ab738caf7539b12c88b7b0b23096d31cc0ab0f)


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

820b88c2f91779843792896a1274e7133a31a3cc
 libraries/base/GHC/Base.hs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libraries/base/GHC/Base.hs b/libraries/base/GHC/Base.hs
index a678c22..d885c67 100644
--- a/libraries/base/GHC/Base.hs
+++ b/libraries/base/GHC/Base.hs
@@ -317,8 +317,8 @@ instance Monoid Ordering where
 -- <http://en.wikipedia.org/wiki/Monoid>: \"Any semigroup @S@ may be
 -- turned into a monoid simply by adjoining an element @e@ not in @S@
 -- and defining @e*e = e@ and @e*s = s = s*e@ for all @s ∈ S at .\" Since
--- there is no \"Semigroup\" typeclass providing just 'mappend', we
--- use 'Monoid' instead.
+-- there used to be no \"Semigroup\" typeclass providing just 'mappend',
+-- we use 'Monoid' instead.
 --
 -- @since 2.01
 instance Monoid a => Monoid (Maybe a) where



More information about the ghc-commits mailing list