you'd ideally use either applicative map or monad ...
# arrow
j
you'd ideally use either applicative map or monad comprehensions depending on what you want to do. I think applicative map is what you need here:
Copy code
Either.applicative().map(
  either1,
  either2,
  ...
) { (res1, res2, ...) -> Do something here  }
Note this will short curcuit on a left, if that is not what you want take a look at the Validated datatype
arrow 1