How is your second example not just an example partial application since you're providing one of the parameters ("lightning") to hasElement? It seems like lodash's curry method is really just partial application, or a mixture of both currying and partial application. Could this be why there is no curry method in Underscore?
it has the same effect. currying is slightly different - lodash has both curry and partial, which gives you a good place to compare the two. To be perfectly honest with you, I only use partial myself, I've not found much use for currying, and I mainly made this video because it was highly requested.
Add a comment...