Difference between Partial Application and Currying
Partial Application:
- process of applying a function to some of its arguments
- it takes in a function with multiple parameters and returns a function with fewer parameters
- may or may not have a predictable return type
Curry:
- takes in a function with multiple parameters and returns a function with exactly one parameter
- always returns a function with exactly one parameter