map2<L, A, A2 extends A, B, B2 extends B, C> static method
Implementation
static Either<L, C> map2<L, A, A2 extends A, B, B2 extends B, C>(Either<L, A2> fa, Either<L, B2> fb, C fun(A a, B b)) =>
fa.fold(left, (a) => fb.fold(left, (b) => right(fun(a, b))));