arrow-typeclasses / arrow.typeclasses / Semigroup

Semigroup

interface Semigroup<A>

Functions

combine abstract fun A.combine(b: A): A
Combine two A values.
maybeCombine open fun A.maybeCombine(b: A?): A
plus open operator fun A.plus(b: A): A

Inheritors

Monoid interface Monoid<A> : Semigroup<A>, MonoidOf<A>

Type Class Hierarchy