map13<L, A, A2 extends A, B, B2 extends B, C, C2 extends C, D, D2 extends D, E, E2 extends E, F, F2 extends F, G, G2 extends G, H, H2 extends H, I, I2 extends I, J, J2 extends J, K, K2 extends K, LL, LL2 extends LL, M, M2 extends M, N> static method
Either<L, N>
map13<L, A, A2 extends A, B, B2 extends B, C, C2 extends C, D, D2 extends D, E, E2 extends E, F, F2 extends F, G, G2 extends G, H, H2 extends H, I, I2 extends I, J, J2 extends J, K, K2 extends K, LL, LL2 extends LL, M, M2 extends M, N>(
- Either<
L, A2> fa, - Either<
L, B2> fb, - Either<
L, C2> fc, - Either<
L, D2> fd, - Either<
L, E2> fe, - Either<
L, F2> ff, - Either<
L, G2> fg, - Either<
L, H2> fh, - Either<
L, I2> fi, - Either<
L, J2> fj, - Either<
L, K2> fk, - Either<
L, LL> fl, - Either<
L, M> fm, - N fun(
- A a,
- B b,
- C c,
- D d,
- E e,
- F f,
- G g,
- H h,
- I i,
- J j,
- K k,
- LL l,
- M m,
Implementation
static Either<L, N> map13<L, A, A2 extends A, B, B2 extends B, C, C2 extends C, D, D2 extends D, E, E2 extends E, F, F2 extends F, G, G2 extends G, H, H2 extends H, I, I2 extends I, J, J2 extends J, K, K2 extends K, LL, LL2 extends LL, M, M2 extends M, N>(Either<L, A2> fa, Either<L, B2> fb, Either<L, C2> fc, Either<L, D2> fd, Either<L, E2> fe, Either<L, F2> ff, Either<L, G2> fg, Either<L, H2> fh, Either<L, I2> fi, Either<L, J2> fj, Either<L, K2> fk, Either<L, LL> fl, Either<L, M> fm, N fun(A a, B b, C c, D d, E e, F f, G g, H h, I i, J j, K k, LL l, M m)) =>
fa.fold(left, (a) => fb.fold(left, (b) => fc.fold(left, (c) => fd.fold(left, (d) => fe.fold(left, (e) => ff.fold(left, (f) => fg.fold(left, (g) => fh.fold(left, (h) => fi.fold(left, (i) => fj.fold(left, (j) => fk.fold(left, (k) => fl.fold(left, (l) => fm.fold(left, (m) => right(fun(a, b, c, d, e, f, g, h, i, j, k, l, m)))))))))))))));