Currying

Discover currying as another technique to write functions with multiple arguments. It also gives us the benefit of partial application.

Introduction to currying

In the last lesson, we learned how to write functions with multiple arguments. For example, the function dividesTuple checks whether the first argument divides the second argument:

Get hands-on with 1400+ tech skills courses.