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)

Testcases:
functional_api
[ show source ]
Show another procedure: