First-class functions/Use numbers analogously: Difference between revisions

→‎{{header|Factor}}: no need to inline multiplier
(→‎{{header|Factor}}: Compare to http://rosettacode.org/wiki/First-class_functions)
(→‎{{header|Factor}}: no need to inline multiplier)
Line 366:
CONSTANT: B ${ xi yi zi }
 
: multiplier ( n1 n2 -- q ) [ * * ] 2curry ; inline
: create-all ( seq1 seq2 -- seq ) [ multiplier ] 2map ;
: example ( -- )
Anonymous user