| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Numeric.Algebra.Multiplicative.MMonoid
Description
Provides the MMonoid typeclass.
Since: 0.1
Documentation
class MSemigroup m => MMonoid m where Source #
Defines a monoid over a multiplicative semigroup.
Examples:
>>>:{-- Multiplication f1 :: (MMonoid g) => g -> g f1 x = x .*. x :}
>>>f1 525
>>>:{-- One f2 :: (MMonoid g) => g -> g f2 x = x .*. one :}
>>>f2 55
Since: 0.1