I do not like the intermediate result that is again wrapped inside
EitherT
to perform
mapLeft
.
r
raulraja
01/22/2020, 3:12 PM
In the future there is with real IO<E, A> which is coming up in 0.11. There you have an API to handle E, Throwable and A that is normalized and does not return the EitherT wrapper, until then what you have seems a legit alternative