2tri* ( u v w x y z p q r -- )
Factor handbook > The language > Combinators > Dataflow combinators > Spread combinators

Prev:tri* ( x y z p q r -- )
Next:spread ( objs... seq -- )


Vocabulary
kernel

Inputs and outputs
uan object
van object
wan object
xan object
yan object
zan object
pa quotation with stack effect ( u v -- ... )
qa quotation with stack effect ( w x -- ... )
ra quotation with stack effect ( y z -- ... )


Word description
Applies p to u and v, then applies q to w and x, and finally applies r to y and z.

Examples
The following two lines are equivalent:
[ p ] [ q ] [ r ] 2tri* [ [ p ] 2dip q ] 2dip r


Definition

: 2tri* ( u v w x y z p q r -- ) [ 4dip ] 2dip 2bi* ; inline