Can one use the `either {}` monad comprehension al...
# arrow
l
Can one use the
either {}
monad comprehension also outside suspending context? I want to use it in a non-suspending function, but it seems that
arrow.core.continuations.either
only has a suspending version of `invoke()`:
Copy code
public suspend operator fun <E, A> invoke(f: suspend EffectScope<E>.() -> A): Either<E, A> =
    effect(f).toEither()
s
you can use
either.eager {}
from non suspend context
🙏 1
🧠 1