f::compose (public)

 f::compose f g x

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

function composition: evaluates f (g x) Example: f::map [f::bind compose sqr [f::bind + 7]] {1 2 3 4 5} = {64 81 100 121 144} Algebraic Property: f::map [f::bind f::compose f g] $xs = f::map f [f::map g $xs]

Parameters:
f (required)
g (required)
x (required)

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

Testcases:
functional_api
[ show source ]
Show another procedure: