diff --git a/_posts/2015-03-28-currying-and-partial-application copy.md b/_posts/2015-03-28-currying-and-partial-application copy.md index 0a00483b1..f1dbeab03 100644 --- a/_posts/2015-03-28-currying-and-partial-application copy.md +++ b/_posts/2015-03-28-currying-and-partial-application copy.md @@ -49,7 +49,7 @@ mapWith(square) //=> undefined is not an object (evaluating 'collection.map') {% endhighlight %} -But let's imagine that we could apply fewer arguments. We wouldn't be fully applying `mapWith`, we'd be *partially applying* `mapWith`. What would we expect to get? Well, imagine we decide to buy a $2,000 bicycle. We go into the store, we give them $1,000. What do we get back? A pice of paper saying that we are doing a layaway program. The $1,000 is held in trust for us, when we come back with the other $1,000, we get the bicycle. +But let's imagine that we could apply fewer arguments. We wouldn't be fully applying `mapWith`, we'd be *partially applying* `mapWith`. What would we expect to get? Well, imagine we decide to buy a $2,000 bicycle. We go into the store, we give them $1,000. What do we get back? A piece of paper saying that we are doing a layaway program. The $1,000 is held in trust for us, when we come back with the other $1,000, we get the bicycle. Putting down $1,000 on a $2,000 bicycle is partially buying a bicycle. What it gets us is the right to finish buying the bicycle later. It's the same with partial application. If we were able to partially apply the `mapWith` function, we'd get back the right to finish applying it later, with the other argument.