Hi! in the process of migrating to 0.13.1, I have ...
# arrow
c
Hi! in the process of migrating to 0.13.1, I have come across a serious refactor,
Copy code
interface BankGateway<F> {
    fun bankAccounts(): Kind<F, Result<List<Bank>>>
}
the final implementation is ForIO, which means that, do I have to rid of it and use suspend everywhere?
s
Yes, you should use
suspend
everywhere instead of
IO
. All the same APIs are covered by Arrow Fx Coroutines, and conversion between
suspend
and Reactor, RxJava or CompletableFuture is exposed by KotlinX Coroutines.
c
i feel i little stupid removing all the Asynk<F>, MonadError<F>, Kind<F, A>
😅 2
now I have a simple suspend and a lot less wrappers
K 3