The io.streams.null vocabulary implements a pair of streams which are useful for testing. The null reader always yields EOF and the null writer ignores all output. Conceptually, they are similar to /dev/null on a Unix system.

Null readers:
null-reader

with-null-writer ( quot -- )


Null writers:
null-writer

with-null-reader ( quot -- )