Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
public static class CurryMethodExtensions
{
public static Func<A, Func<B, Func<C, R>>> Curry<A, B, C, R>(this Func<A, B, C, R> f)
{
return a => b => c => f(a, b, c);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment