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