Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Added a clearer explanation of _curry #8

Merged
merged 1 commit into from

2 participants

@atuttle

I hope I got it right!

@markmandel markmandel merged commit fc13d6a into from
@atuttle

In my haste to help, I obviously missed the note about making documentation updates in the function comments. I'll take full responsibility for updating the comments for curry, and hopefully soon. Sorry about that!

@markmandel
Owner

Oh, I totally didn't realise that either! Oops!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 14, 2012
  1. @atuttle

    clearer explanation of curry

    atuttle authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  README.md
View
2  README.md
@@ -78,7 +78,7 @@ Functions that allow you to manipulate other functions / closures
### _curry(function func, array args) : function ###
-Curry a function from left to right.
+Curry a function from left to right. Currying is creating a wrapper function where you set a constant value for one or more of the arguments of the function being wrapped. If you curry the function: `function (a,b)` with values `[5]`, then your wrapper will accept one argument (b), and always pass 5 for a.
* func - the function/closure you want to curry
* args - the array of arguments you wish to curry with.
Something went wrong with that request. Please try again.