Function that takes a function with multiple arguments and returns a function with a single tuple argument

Viewed 68

Is there a standard name for the higher-order function that takes a function with multiple arguments and returns a function with a single tuple argument:

def what_am_i(f):
    def f1(tup):
        f(*tup)
    return f1 

This is not the same as uncurry in most programming languages, which I usually see defined as:

def uncurry(f):
    def f1(a, b):
        return f(a)(b)
    return f1
1 Answers
Related