Skip to content

Conversation

@anshulguleria
Copy link

Added another file as a solution to curry problem.
This solution uses recursive functions and Function.prototype.bind function for binding arguments.

Have also added some commented test which were not covering the cases with verify and run.

@timoxley
Copy link
Owner

Oh, I totally failed to mention that the point of the exercise was to not use function.prototype.bind, and to implement the currying yourself in order to truly understand Function.prototype.bind.

@timoxley
Copy link
Owner

I've updated the exercise to reflect this in 8b2ce3e

@timoxley timoxley closed this Apr 23, 2015
@timoxley
Copy link
Owner

Actually, I take this back. Let them bind.

@timoxley timoxley reopened this Apr 23, 2015
timoxley added a commit that referenced this pull request Apr 23, 2015
@timoxley
Copy link
Owner

Adapted in 68e5c70.

@timoxley timoxley closed this Apr 23, 2015
@timoxley timoxley mentioned this pull request Apr 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants