Create a gist now

Instantly share code, notes, and snippets.

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