Skip to content

Instantly share code, notes, and snippets.

@jashkenas
Forked from perplexes/gist:305150
Created February 16, 2010 00:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jashkenas/305158 to your computer and use it in GitHub Desktop.
Save jashkenas/305158 to your computer and use it in GitHub Desktop.
Function.prototype.curry: (scope, rest...) ->
scope ||= this
=> @apply(scope, rest)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment