[R6RS] Changing the transcoding mid-stream

Michael Sperber sperber at informatik.uni-tuebingen.de
Wed Aug 23 12:57:35 EDT 2006


William D Clinger <will at ccs.neu.edu> writes:

>> Why do we have only call-with procedures for bytes and string output ports
>> but only open- procedures for bytes and string input ports?
>
> Good question.
>
> I assume this was Mike's way of emphasizing asymmetry
> between input and output ports.

If you replace "emphasize" by "reflect," the statement would be
accurate.

> call-with-whatever-output-port returns a useful value
> whose computation should be coupled with the closing
> of the port.  That's just my guess as to Mike's
> rationale.

It also seemed to require the least introspection to implement.  I was
mainly following the rationale implied by this message:

http://srfi.schemers.org/srfi-6/mail-archive/msg00002.html

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla



More information about the R6RS mailing list