arrow-effects-extensions / arrow.effects.extensions / IOApply

IOApply

@extension interface IOApply : Apply<ForIO>

Functions

ap open fun <A, B> IOOf<A>.ap(ff: IOOf<(A) -> B>): IO<B>
map open fun <A, B> IOOf<A>.map(f: (A) -> B): IO<B>

Extension Functions

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