Is there a standard name for a higher order function that takes a function with multiple arguments and returns a function with one tuple argument:
def what_am_i(f):
def f1(tup):
f(*tup)
return f1
This is not the same as uncurryin most programming languages, which I usually see as:
def uncurry(f):
def f1(a, b):
return f(a)(b)
return f1
source
share