Tuesday, May 30, 2017

Curry or Partial Application?



A lot of people new to functional programming get confused about the difference between partial application and currying. In fact, until recently it was rare to see real uses of curry in JavaScript, and many of the utility functions calling themselves `curry()` weren’t curry functions at all.

No comments:

Moving Backgrounds With Mouse Position

Let's say you wanted to move the background-position on an element as you mouse over it to give the design a little pizzazz. You have ...