```suspend fun one(): Either<Error, Int> sus...
# arrow
k
Copy code
suspend fun one(): Either<Error, Int>
suspend fun two(i: Int): Either<Error, Value>

launch{
   one().fold(::Left, { right ->
       two(right) /// <- Kotlin is complaining that this needs to be in a coroutine scope
   }
}
Can you do this?
p
put two in another launch scope
this is something with the inliner and kx.coroutines
k
Yeah that's what I was thinking as well... It felt a bit wrong but I am still learning this stuff
Is this no longer a thing?
Copy code
import arrow.core.extensions.either.monad.binding
p
it’s
fx
now
I was trying to find the update post we did
basically it all goes through
fx
now
k
Thank you for all the help