Compose functions
Performs right-to-left function composition.
- Use
functools.reduce()
to perform right-to-left function composition. - The last (rightmost) function can accept one or more arguments; the remaining functions must be unary.
Performs right-to-left function composition.
functools.reduce()
to perform right-to-left function composition.