const result = pipe(
5,
x => x * 2,
x => x + 1
) // β 11pipe<T> threads a value through a sequence of transformations left-to-right.
Challenge: Implement pipe<T>(...fns: ((x: T) => T)[]): (x: T) => T β a left-to-right function composer.
pipe(x => x + 1, x => x * 2)(3) // β (3+1)*2 = 8
pipe()(42) // β 42