Skip to content
Snippets Groups Projects
Commit 820b88c2 authored by Chris Martin's avatar Chris Martin Committed by Ben Gamari
Browse files

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 72ab738c)
parent 2bd87cd4
No related branches found
No related tags found
No related merge requests found
......@@ -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@.\" 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment