arrow-fx / arrow.fx.extensions.io.applicativeError / arrow.Kind

Extensions for arrow.Kind

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

Do you like Arrow?

Arrow Org
<