arrow-core / arrow.core.extensions / ConstMonoid

ConstMonoid

interface ~~ConstMonoid~~<A, T> : Monoid<ConstOf<A, T>>, ConstSemigroup<A, T> Deprecated: Typeclass instance have been moved to the companion object of the typeclass.

Functions

empty open fun empty(): Const<A, T>
MA abstract fun MA(): Monoid<A>
SA open fun SA(): Semigroup<A>

Do you like Arrow?

Arrow Org
<