Module

Data.Monoid.Multiplicative

Package
prelude
Repository
purerl/purescript-prelude

#Multiplicative Source

newtype Multiplicative a

Monoid and semigroup for semirings under multiplication.

Multiplicative x <> Multiplicative y == Multiplicative (x * y)
(mempty :: Multiplicative _) == Multiplicative one

Constructors

Instances