Currying and Uncurrying
Learn how to transform functions into their curried or uncurried forms.
We'll cover the following...
We'll cover the following...
Currying functions with more arguments
The technique of currying is not limited to functions with two arguments. If we have a function with three arguments like this:
we also can turn it into its curried form:
and we can use a partial application with one or two arguments.
mustBeSixty = isTriangle ...