Handbook
Glossary
2quad ( x y p q r s -- )
Extra combinators
Prev:
quad ( x p q r s -- )
Next:
3quad ( x y z p q r s -- )
Vocabulary
combinators
.
extras
Inputs
x
an
object
y
an
object
p
a
quotation
with stack effect
( x y -- ... )
q
a
quotation
with stack effect
( x y -- ... )
r
a
quotation
with stack effect
( x y -- ... )
s
a
quotation
with stack effect
( x y -- ... )
Outputs
None
Word description
Applies
p
to the two input values, then applies
q
to the two input values, then applies
r
to the two input values, and finally applies
s
to the two input values.
Definition
USING:
kernel
;
IN:
combinators.extras
:
2quad
( x y p q r s -- )
[
[
[
2keep
]
dip
2keep
]
dip
2keep
]
dip
call
;
inline