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