> But what I would like to bring to your attent...
# arrow
s
But what I would like to bring to your attention with this comment is that suspend is not a replacement for IO but all monads and foldable (see SequenceBuilder in the std lib) and can support interleaved transformer binding at all layers of the transformers
By this Raul means that suspend is replacement for IO including other things right 😅 ? Also, I was wondering if there would be any migration guide for switching the whole application code from
IO
to
Either + suspend
? I am assuming IO would eventually get deprecated when
arrow-fx-coroutines
will get mature ?
s
Yes,
IO
will get deprecated when Arrow Fx Coroutines matures since this is obviously a much better fit for Kotlin.
👍 1
Yes, we do want to provide a migration guide as soon as 0.11.0. I shared a PR with the current WIP in the other thread 🙂
❤️ 4
r
I also ment that Algebras and what we call tagless final can be highly simplified with suspend and the new shift/reset primitives we are investigating. And those are not just IO they can be run over other types.
👀 1