xenomachina
05/06/2018, 8:58 PMwhen (x) {
is Either.Left -> yield(foo(x))
but with arrow I had to change it to write:
when (x) {
is Either.Left -> yield(foo(Either.left(x)))
It took me a while to figure out why only this one bit of code was failing.