arrow-mtl / arrow.mtl.extensions / ComposedFunctorFilter

ComposedFunctorFilter

interface ComposedFunctorFilter<F, G> : FunctorFilter<Nested<F, G>>, ComposedFunctor<F, G>

Functions

F abstract fun F(): Functor<F>
filterMap open fun <A, B> Kind<Nested<F, G>, A>.filterMap(f: (A) -> Option<B>): Kind<Nested<F, G>, B>
filterMapC open fun <A, B> filterMapC(fga: Kind<F, Kind<G, A>>, f: (A) -> Option<B>): Kind<F, Kind<G, B>>
G abstract fun G(): FunctorFilter<G>

Companion Object Functions

invoke operator fun <F, G> invoke(FF: Functor<F>, FFG: FunctorFilter<G>): ComposedFunctorFilter<F, G>