Handbook
Glossary
2keep-2up ( quot -- quot )
Extra combinators
Prev:
2keep-1up ( quot -- quot )
Next:
2keep-3up ( quot -- quot )
Vocabulary
combinators
.
extras
Inputs
quot
a
quotation
Outputs
quot
a
quotation
Word description
Calls a quotation with two values on the stack, restoring the values under the two topmost items on the stack.
Definition
USING:
generalizations
kernel
;
IN:
combinators.extras
:
2keep-2up
( quot -- quot )
2keep
2 4 0
nrotated
;
inline