On Jan 2, 2009, at 1:54 PM, Derick Eddington wrote:
Another rant: R6RS has output-port-buffer-mode but not input-port-buffer-mode even though both output and input ports have buffer modes.
The problem is that the buffer modes for input ports are mostly bogus anyways. For example, line-buffering along with a specific eol style cannot be implemented, period, and you cannot implement transcoded (say utf8) ports on top of unbuffered IO. Plus, you have a lookahead-char/u8 operation that has to be supported on all ports, including unbuffered ones! Now how on earth can you both peek and be unbuffered at the same time?
I've got to say, the more I learn about R6RS the more I think it needs to be revised ASAP.
I agree, but, "Careful what you wish for". :-) Aziz,,,
