repl.txt (819B)
1 2 {{alias}}( ...fcn ) 3 Returns a pipeline function. 4 5 Starting from the left, the pipeline function evaluates each function and 6 passes the result as an argument to the next function. The result of the 7 rightmost function is the result of the whole. 8 9 Only the leftmost function is explicitly permitted to accept multiple 10 arguments. All other functions are evaluated as unary functions. 11 12 Parameters 13 ---------- 14 fcn: ...Function 15 Functions to evaluate in sequential order. 16 17 Returns 18 ------- 19 out: Function 20 Pipeline function. 21 22 Examples 23 -------- 24 > function a( x ) { return 2 * x; }; 25 > function b( x ) { return x + 3; }; 26 > function c( x ) { return x / 5; }; 27 > var f = {{alias}}( a, b, c ); 28 > var z = f( 6 ) 29 3 30 31 See Also 32 -------- 33