Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Monoid operations
class (Semigroup a, Monoid a) => Monoid a where Source #
A linear monoid is a linear semigroup with an identity on the binary operation.
Nothing
Instances
Monoid Ordering Source # | |
Defined in Data.Monoid.Linear.Internal.Monoid | |
Monoid a => Monoid (Dual a) Source # | |
Defined in Data.Monoid.Linear.Internal.Monoid | |
Monoid (Endo a) Source # | |
Defined in Data.Monoid.Linear.Internal.Monoid | |
(Movable a, Monoid a) => Monoid (MovableMonoid a) Source # | |
Defined in Data.Unrestricted.Internal.Instances mempty :: MovableMonoid a Source # | |
MultIdentity a => Monoid (Multiplying a) Source # | |
Defined in Data.Num.Linear mempty :: Multiplying a Source # | |
AddIdentity a => Monoid (Adding a) Source # | |
Defined in Data.Num.Linear | |
Monoid (Array a) Source # | |
Defined in Data.Array.Polarized.Push | |
(Monoid a, Monoid b) => Monoid (a, b) Source # | |
Defined in Data.Monoid.Linear.Internal.Monoid |