Transform a function that takes multiple arguments into a sequence of functions that each take a single argument.
Implement a function that transforms a multi-argument function into a curried version.