8 Input and Output
A Racket port represents an input or output stream, such as
a file, a terminal, a TCP connection, or an in-memory string. More
specifically, an input port represents a stream from which a
program can read data, and an output port represents a
stream for writing data.