Skip to content

Instantly share code, notes, and snippets.

@perplexes
Created February 16, 2010 00:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save perplexes/305150 to your computer and use it in GitHub Desktop.
Save perplexes/305150 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