Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class Semigroup q => Additive q Source #
Instances
Additive () Source # | Trivial additive semigroup. |
Defined in Data.Semigroup.Additive | |
Additive a => Additive (Identity a) Source # | Identity lifts additive semigroups pointwise (at only one point) |
Defined in Data.Semigroup.Additive | |
Additive b => Additive (a -> b) Source # | Functions lift additive semigroups pointwise. |
Defined in Data.Semigroup.Additive | |
(Additive a, Additive b) => Additive (a, b) Source # | Product additive semigroup. A Pair of additive semigroups gives rise to a additive semigroup |
Defined in Data.Semigroup.Additive | |
Additive (Proxy x) Source # | Trivial additive semigroup, Functor style |
Defined in Data.Semigroup.Additive | |
Additive a => Additive (Const a x) Source # | Const lifts additive semigroups into a functor. |
Defined in Data.Semigroup.Additive | |
(Additive (f a), Additive (g a)) => Additive ((f :*: g) a) Source # | Product of additive semigroups, Functor style. |
Defined in Data.Semigroup.Additive | |
Additive (f (g a)) => Additive ((f :.: g) a) Source # | |
Defined in Data.Semigroup.Additive |