Hi, just playing with 0.11.0-SNAPSHOT... I see tha...
# arrow
h
Hi, just playing with 0.11.0-SNAPSHOT... I see that Either.fx() is marked as deprecated. I know you are working in order to use the continuations solution not only for IO but for every monad, but is it going to be included in 0.11? If not, what will be the right way to manage comprehension-like syntax for either in 0.11?
a
for 0.11 you already have an alternative which would be just
either { }
in that case
👍 2
i believe the replaceWith intention from the warning should do the conversion for you if I’m not mistaken
k
in the
arrow.core.computations
you can find the
either
object with an invoke method which is using the BindingSyntax.
Copy code
fun usingEither() =
either {
   Either.catch { myfunction }
}
☝️ 1
h
found it, thank you! 😁
🙌 1