f::flip (public)

 f::flip f a b

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

Takes a binary function 'f' and two arguments 'a' and 'b' and returns f b a (arguments are flipped). Example: flip lindex 0 {42 37 59 14} = 42

Parameters:
f
a
b

Partial Call Graph (max 5 caller/called nodes):
%3 test_functional_api functional_api (test acs-tcl) f::flip f::flip test_functional_api->f::flip

Testcases:
functional_api
[ show source ]
Show another procedure: