drboolean
mostly-adequate-guide (old)

Updated a year ago

Jack Murphy (@rightisleft) started discussion #197

2 years ago · 0 comments

Open

Curry Description

For those of us brand new to functional programming it might be helpful to describe what the curry function does before the example:

"Let's set up a few curried functions for our enjoyment. curry() is a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient."


https://lodash.com/docs/#curry

No comments on this discussion.


to join this conversation on GitBook. Already have an account? Sign in to comment
Notifications

You’re not receiving notifications from this thread.


1 participant