partial() now works with any number of arguments. As a bonus, it is implemented in terms of the new extend() function, which is also useful on its own.