Pike v8.0 release 1738

Method Function.uncurry()


Method uncurry

function(mixed ... :mixed) uncurry(function(:void) f)

Description

This function, given a function taking N parameters, returns a new function taking N+1 parameters. The first argument will be ignored.

Example
>  Function.uncurry(`+)(7,2,3)
 Result: 5