pipe9<A, B, C, D, E, F, G, H, I> function
- 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
Transforms the input a
by applying the function ab
, then bc
, then cd
, then de
, then ef
, then fg
, then gh
and then hi
.
Implementation
I pipe9<A, B, C, D, E, F, G, H, I>(
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) {
return hi(gh(fg(ef(de(cd(bc(ab(a))))))));
}