2tri@ ( u v w x y z quot -- )
Factor handbook » The language » Combinators » Dataflow combinators » Apply combinators

Prev:tri@ ( x y z quot -- )
Next:both? ( x y quot -- ? )


Vocabulary
kernel

Inputs
uan object
van object
wan object
xan object
yan object
zan object
quota quotation with stack effect ( obj1 obj2 -- ... )


Outputs
None

Word description
Applies the quotation to u and v, then to w and x, and then to y and z.

Examples
The following two lines are equivalent:
[ p ] 2tri@ [ [ p ] 2dip p ] 2dip p

The following two lines are also equivalent:
[ p ] 2tri@ [ p ] [ p ] [ p ] 2tri*


Definition

: 2tri@ ( u v w x y z quot -- ) dup dup 2tri* ; inline