Created
August 23, 2015 12:32
-
-
Save angelovstanton/907b6f2c3ec1959dddee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Func<int, int, int, int> addNumbers = (x, y, z) => x + y + z; | |
var f1 = addNumbers.Curry(); | |
Func<int, Func<int, int>> f2 = f1(3); | |
Func<int, int> f3 = f2(4); | |
Console.WriteLine(f3(5)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment