pipe10<A, B, C, D, E, F, G, H, I, J> function
J
pipe10<A, B, C, D, E, F, G, H, I, J>(
- A a,
- B ab(
- A
- C bc(
- B
- D cd(
- C
- E de(
- D
- F ef(
- E
- G fg(
- F
- H gh(
- G
- I hi(
- H
- J ij(
- I
Transforms the input a by applying the function ab, then bc, then cd, then de, then ef, then fg, then gh, then hi and then ij.
Implementation
J pipe10<A, B, C, D, E, F, G, H, I, J>(
A a,
B Function(A) ab,
C Function(B) bc,
D Function(C) cd,
E Function(D) de,
F Function(E) ef,
G Function(F) fg,
H Function(G) gh,
I Function(H) hi,
J Function(I) ij) {
return ij(hi(gh(fg(ef(de(cd(bc(ab(a)))))))));
}