Handbook
Glossary
with-null-writer ( quot -- )
Null streams
Prev:
null-reader
Next:
null-writer
Vocabulary
io
.
streams
.
null
Inputs
quot
a
quotation
Outputs
None
Word description
Calls the quotation with
output-stream
rebound to a
null-writer
which ignores all output.
Definition
USING:
io
kernel
;
IN:
io.streams.null
:
with-null-writer
( quot -- )
null-writer
swap
with-output-stream*
;
inline