Satyam Agarwal
10/15/2020, 6:30 PMreturn either {
MyDomainObject.left().bind()
}
IDE shows me this : Returning type parameter has been inferred to Nothing implicitly. Please, specify type arguments explicitly to hide this warning. Nothing can produce an exception at runtime.
on v0.11.0 with arrow-fx-coroutines.raulraja
10/15/2020, 6:41 PMSatyam Agarwal
10/15/2020, 6:46 PMSatyam Agarwal
10/15/2020, 6:47 PMaballano
10/15/2020, 7:06 PMA.left()
gives you an Either<A, Nothing>
so doing bind()
here will always be cast to Nothing đ¤ˇaballano
10/15/2020, 7:10 PMbind()
works as it favours the ârightâ case đ