[commit: ghc] master: Maybe Monoid doc: "is no semigroup" -> "used to be no semigroup" (72ab738)

git at git.haskell.org git at git.haskell.org
Mon Mar 13 21:06:43 UTC 2017


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/72ab738caf7539b12c88b7b0b23096d31cc0ab0f/ghc

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

commit 72ab738caf7539b12c88b7b0b23096d31cc0ab0f
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


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

72ab738caf7539b12c88b7b0b23096d31cc0ab0f
 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 8548da6..3c3dbd3 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