Handbook
Glossary
keep-inputs ( quot -- )
Factor handbook
»
The language
»
Combinators
»
Smart combinators
Prev:
preserving ( quot -- )
Next:
smart-if ( pred true false -- )
Vocabulary
combinators
.
smart
Inputs
quot
a
quotation
Outputs
None
Word description
Calls a quotation and preserves any values it takes off the stack.
See also
drop-outputs
Definition
USING:
generalizations
kernel
;
IN:
combinators.smart
:
keep-inputs
( quot -- )
[
]
[
inputs
]
bi
nkeep
;
inline