Skip to content

Instantly share code, notes, and snippets.

@knjname
Created August 14, 2012 11:19
Show Gist options
  • Save knjname/3348297 to your computer and use it in GitHub Desktop.
Save knjname/3348297 to your computer and use it in GitHub Desktop.
wrap = (wrapped, wrapper) -> (args...)-> wrapper.apply(wrapped, args)
# wrapper can invoke wrapped with @().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment