I have a return type `Either<Error, List<A&g...
# arrow
j
I have a return type
Either<Error, List<A>>
is there a way to map directly into the list without having to
either.map{ it.map { f } }
?
s
That is your best option, yes. Alternatively
bind().map { f }
if you're inside
either { }
j
alright, thanks!