uncurry

EveAndersson.com : API Browser : uncurry

uncurry

uncurry f tuple
Defined in tcl/ad-functional.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
[ show source ]

Show another procedure:

eve@eveandersson.com