arrow-core / arrow.core.extensions.const.functor
arrow.core.Const | |
arrow.Kind |
lift | Lifts a function A -> B to the F structure returning a polymorphic function that can be applied over all F values in the shape of Kind<F, A>fun <A, B> ~~lift~~(arg0: (A) -> B): (Kind<Kind<ForConst, A>, A>) -> Kind<Kind<ForConst, A>, B> |
mapConst | Replaces the B value inside F with A resulting in a Kind<F, A>fun <A, B> A.~~mapConst~~(arg1: Kind<Kind<ForConst, A>, B>): Const<A, A> |
Do you like Arrow?
✖