melatonina
02/22/2020, 11:52 PMEither.monad<Exception>().fx {
}
but the IDE says there is no fx. If I go to the definition of Either.monad(), I see that it returns a
EitherMonad<L>, which has a definition for fx. What's happening? That is an attempt to adapt the code from your comprehension tutorial. If, instead, I'm supposed to use
Either.monad<Any>().binding {
}
then the problem is that I don't thave any binding method around.aballano
02/23/2020, 1:30 AMEither.fx { ... } although i cannot check right nowmelatonina
02/23/2020, 7:50 AMfx is an extension function on Either.Companion.melatonina
02/23/2020, 11:37 AMsimon.vergauwen
02/23/2020, 11:38 AM