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

Prev:2bi* ( w x y z p q -- )
Next:2tri* ( u v w x y z p q r -- )


Vocabulary
kernel

Inputs and outputs
xan object
yan object
zan object
pa quotation with stack effect ( x -- ... )
qa quotation with stack effect ( y -- ... )
ra quotation with stack effect ( z -- ... )


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

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


See also
bi*, spread

Definition

: tri* ( x y z p q r -- ) [ [ 2dip ] dip dip ] dip call ; inline