f::uncurry (public)

 f::uncurry f tuple

Defined in packages/acs-tcl/tcl/ad-functional-procs.tcl

Converts a function that takes a series of single arguments into a function that takes one tuple as an argument.

Example

  • min 3 5 = 3
  • min {3 5} = error (because min expects two arguments)
  • uncurry min {3 5} = 3

Parameters:
f
tuple

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.
Source code:
    uplevel [list eval "$f $tuple"]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: