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):
- Testcases:
- functional_api
Source code: $f [$g $x]XQL Not present: Generic, PostgreSQL, Oracle