arrow-core / arrow.core.extensions / OptionSemigroup

OptionSemigroup

interface ~~OptionSemigroup~~<A> : Semigroup<Option<A>> Deprecated: Typeclass instance have been moved to the companion object of the typeclass.

Functions

combine open fun Option<A>.combine(b: Option<A>): Option<A>
SG abstract fun SG(): Semigroup<A>

Inheritors

OptionMonoid interface ~~OptionMonoid~~<A> : Monoid<Option<A>>, OptionSemigroup<A>

Do you like Arrow?

Arrow Org
<