Skip to content

Instantly share code, notes, and snippets.

@emanon-was
Created April 15, 2016 01:52
Show Gist options
  • Select an option

  • Save emanon-was/b91aa2d1f443a3869c1853c4524e234f to your computer and use it in GitHub Desktop.

Select an option

Save emanon-was/b91aa2d1f443a3869c1853c4524e234f to your computer and use it in GitHub Desktop.
def add = { a -> { b -> { c ->
return a + b + c;
}}};
println add(1)(2)(3);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment