Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
class Semigroup a => Monoid a where Source #
When providing a new instance, you should ensure it satisfies: * Right absorption: zero + x ≡ x * Left absorption: x + zero ≡ x
Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
class Semigroup a => Monoid a where Source #
When providing a new instance, you should ensure it satisfies: * Right absorption: zero + x ≡ x * Left absorption: x + zero ≡ x