Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Pandora.Pattern.Object.Monoid
Documentation
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