chickadee » spock » with-input-from-port

with-input-from-port PORT THUNKprocedure
with-output-to-port PORT THUNKprocedure

Invoke the zero-argument procedure THUNK with the current input or output port changed to PORT.