m :+: n is the coproduct of monoids m and n. Concatentation
is equivilent to
(m1 :+: n1) <> (m2 :+: n2) = (m1 <> m2) :+: (n1 <> act m1 n2)@
but has a more efficient internal implimentation.
Instances4Show, Semigroup, Monoid, Action
(Action m n, Monoid m, Monoid' n, Show m, Show n) => Show (m :+: n)Defined in monoid-extras-0.6.2 · Data.Monoid.Coproduct.Strict(Action m n, Semigroup m, Semigroup n) => Semigroup (m :+: n)Defined in monoid-extras-0.6.2 · Data.Monoid.Coproduct.Strict(Action m n, Semigroup m, Semigroup n) => Monoid (m :+: n)Defined in monoid-extras-0.6.2 · Data.Monoid.Coproduct.Strict(Action m n, Action m r, Action n r, Semigroup n) => Action (m :+: n) rDefined in monoid-extras-0.6.2 · Data.Monoid.Coproduct.StrictCoproducts act on other things by having each of the components act individually.