f::bind2nd (public)

 f::bind2nd f arg

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

Binds arg to the 2nd argument of f.

Parameters:
f (required)
arg (required)

Testcases:
functional_api
Source code:
    set code "set [lindex [info args $f] 1] {$arg}\n"
    append code [info body $f]
    set proc_args [info args $f]
    set num_proc_args [llength $proc_args]
    lambda [cons [head $proc_args] [lrange $proc_args 2 $num_proc_args]] $code
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: