for whomever is reading: in that inner Either (and it’s always Either), the left side A means “continue the computation” and the right side B means “you can stop and this is the result”. So if you use
IO<A>
you’ll return
IO<Either<A, B>>
and if you have an
Either<String, A>
you’ll return
Either<String, Either<A, B>>