Skip to content

Instantly share code, notes, and snippets.

@milesrout
Created December 17, 2015 22:26
Show Gist options
  • Save milesrout/077ad027711b5eb1e35a to your computer and use it in GitHub Desktop.
Save milesrout/077ad027711b5eb1e35a to your computer and use it in GitHub Desktop.
///////////////////////////////////////////////////////
// f - function
// (f x) - (partially) apply the argument x to f
// ((f x) y) - apply the arguments x and y to f
// f - function
// f::of<x> - (partially) apply the argument x to f
// f::of<x>::of<y> - apply the arguments x and y to f
///////////////////////////////////////////////////////
// f - function
// g = f - a new name for f
// h = (f x) - a new name for \y -> (f x y)
// f - function
// using g = f; - a new name for f
// using h = f::of<x>; - a new name for \y -> (f x y)
///////////////////////////////////////////////////////
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment