map11<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, L> static method

Option<L> map11<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, L>(
  1. Option<A2> fa,
  2. Option<B2> fb,
  3. Option<C2> fc,
  4. Option<D2> fd,
  5. Option<E2> fe,
  6. Option<F2> ff,
  7. Option<G2> fg,
  8. Option<H2> fh,
  9. Option<I2> fi,
  10. Option<J2> fj,
  11. Option<K2> fk,
  12. L fun(
    1. A a,
    2. B b,
    3. C c,
    4. D d,
    5. E e,
    6. F f,
    7. G g,
    8. H h,
    9. I i,
    10. J j,
    11. K k,
    ),
)

Implementation

static Option<L> map11<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, L>(Option<A2> fa, Option<B2> fb, Option<C2> fc, Option<D2> fd, Option<E2> fe, Option<F2> ff, Option<G2> fg, Option<H2> fh, Option<I2> fi, Option<J2> fj, Option<K2> fk, L fun(A a, B b, C c, D d, E e, F f, G g, H h, I i, J j, K k)) =>
  fa.fold(none, (a) => fb.fold(none, (b) => fc.fold(none, (c) => fd.fold(none, (d) => fe.fold(none, (e) => ff.fold(none, (f) => fg.fold(none, (g) => fh.fold(none, (h) => fi.fold(none, (i) => fj.fold(none, (j) => fk.fold(none, (k) => some(fun(a, b, c, d, e, f, g, h, i, j, k)))))))))))));