arrow-core / arrow.core.extensions.option.applicativeError / arrow.Kind

Extensions for arrow.Kind

attempt fun <A> Kind<ForOption, A>.~~attempt~~(): Option<Either<Unit, A>>
fromOption fun <A> Kind<ForOption, A>.~~fromOption~~(arg1: () -> Unit): Option<A>
handleError fun <A> Kind<ForOption, A>.~~handleError~~(arg1: (Unit) -> A): Option<A>
handleErrorWith fun <A> Kind<ForOption, A>.~~handleErrorWith~~(arg1: (Unit) -> Kind<ForOption, A>): Option<A>
redeem fun <A, B> Kind<ForOption, A>.~~redeem~~(arg1: (Unit) -> B, arg2: (A) -> B): Option<B>

Do you like Arrow?

Arrow Org
<