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

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


Vocabulary
kernel

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


Outputs
None

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

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

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


Definition

: 2bi@ ( w x y z quot -- ) dup 2bi* ; inline