Skip to content

Instantly share code, notes, and snippets.

@deepakmehra10
Created July 14, 2019 09:57
Show Gist options
  • Save deepakmehra10/07dc5aae92a0894d4ac883568d2823b8 to your computer and use it in GitHub Desktop.
Save deepakmehra10/07dc5aae92a0894d4ac883568d2823b8 to your computer and use it in GitHub Desktop.
//currying
Function1<Integer, Function1<Integer, Function1<Integer, Integer>>> curried = fourArgFunction.curried().apply(2);
System.out.println(curried.apply(2).apply(1).apply(1));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment