Module

Data.Monoid.Additive

#Additive

newtype Additive a

Monoid and semigroup for semirings under addition.

Additive x <> Additive y == Additive (x + y)
(mempty :: Additive _) == Additive zero

Constructors

Instances

Modules