bi* ( x y p q -- )
Factor handbook » The language » Combinators » Dataflow combinators » Spread combinators

Next:2bi* ( w x y z p q -- )


Vocabulary
kernel

Inputs
xan object
yan object
pa quotation with stack effect ( x -- ... )
qa quotation with stack effect ( y -- ... )


Outputs
None

Word description
Applies p to x, then applies q to y.

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


See also
tri*, spread

Definition

: bi* ( x y p q -- ) [ dip ] dip call ; inline