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

Next:2bi@ ( w x y z quot -- )


Vocabulary
kernel

Inputs
xan object
yan object
quota quotation with stack effect ( obj -- ... )


Outputs
None

Word description
Applies the quotation to x, then to y.

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

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


Definition

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