Make currying easier by writing a reusable generic currying function.
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/23523624-higher-order-functions-in-swift/lessons/8
Make currying easier by writing a reusable generic currying function.