Handbook
Glossary
tri@ ( x y z quot -- )
Factor handbook
»
The language
»
Combinators
»
Dataflow combinators
»
Apply combinators
Prev:
2bi@ ( w x y z quot -- )
Next:
2tri@ ( u v w x y z quot -- )
Vocabulary
kernel
Inputs
x
an
object
y
an
object
z
an
object
quot
a
quotation
with stack effect
( obj -- ... )
Outputs
None
Word description
Applies the quotation to
x
, then to
y
, and finally to
z
.
Examples
The following two lines are equivalent:
[ p ] tri@ [ [ p ] dip p ] dip p
The following two lines are also equivalent:
[ p ] tri@ [ p ] [ p ] [ p ] tri*
Definition
IN:
kernel
:
tri@
( x y z quot -- )
dup
dup
tri*
;
inline