pandora-0.1.0: A box of patterns and paradigms
Pandora.Pattern.Object.Monoid
class Semigroup a => Monoid a where Source #
When providing a new instance, you should ensure it satisfies the two laws: * Right absorption: unit <> x ≡ x * Left absorption: x <> unit ≡ x
Methods
unit :: a Source #
Defined in Pandora.Paradigm.Basis.Identity
unit :: Identity a Source #
Defined in Pandora.Paradigm.Basis.Maybe
unit :: Maybe a Source #