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

Prev:bi* ( x y p q -- )
Next:tri* ( x y z p q r -- )


Vocabulary
kernel

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


Outputs
None

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

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


Definition

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