Creates a pipe object to chain operations together.
the iterable
pipe([1, 2, 3]) .then((xs) => map(xs, (x) => x + 1)) .then((xs) => filter(xs, (x) => x > 2)) .then((xs) => reduce(xs, (acc, x) => acc + x)) Copy
pipe([1, 2, 3]) .then((xs) => map(xs, (x) => x + 1)) .then((xs) => filter(xs, (x) => x > 2)) .then((xs) => reduce(xs, (acc, x) => acc + x))
Creates a pipe object to chain operations together.