arrow-effects-extensions / arrow.effects.extensions / IOMonoid

IOMonoid

@extension interface IOMonoid<A> : Monoid<IO<A>>, IOSemigroup<A>

Functions

empty open fun empty(): IO<A>
SG open fun SG(): Semigroup<A>
SM abstract fun SM(): Monoid<A>

Extension Functions

just fun <A> A.just(): IO<A>
just fun <F, E, A> A.just(BR: Bracket<F, E>): Resource<F, E, A>