drop-outputs ( quot -- ) (original) (raw)
drop-outputs ( quot -- )
Factor handbook » The language » Combinators » Smart combinators
Prev: | append-outputs-as ( quot exemplar -- seq ) |
---|---|
Next: | preserving ( quot -- ) |
Vocabulary
combinators.smart
Inputs
quot | a quotation |
---|
Outputs
None
Word description
Calls a quotation and drops any values it leaves on the stack.
See also
keep-inputs
Definition
USING: generalizations kernel ;
: drop-outputs ( quot -- ) [ call ] [ outputs ndrop ] bi ;
inline