arrow-core-data / arrow.typeclasses / Semigroup

Semigroup

interface Semigroup<A>

Functions

combine Combine two A values.abstract fun A.combine(b: A): A
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

Do you like Arrow?

Arrow Org
<