Basic cleave combinators:
bi ( x p q -- p(x) q(x) )
tri ( x p q r -- p(x) q(x) r(x) )
Basic spread combinators:
bi* ( x y p q -- p(x) q(y) )
tri* ( x y z p q r -- p(x) q(y) r(z) )
General cleave:
cleave ( obj { q1 q2 ... qN } -- q1(obj) q2(obj) ... qN(obj) )
General spread:
spread ( v1 v2 ... vN { q1 q2 ... qN } -- q1(v1) q2(v2) ... qN(vN) )
Basic cleave combinators for quotations with arity 2
2bi ( x y p q -- p(x,y) q(x,y) )
2tri ( x y z p q r -- p(x,y,z) q(x,y,z) r(x,y,z) )
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk