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