[r6rs-discuss] R5.95 questions

From: Michael Sperber <sperber>
Date: Tue, 26 Jun 2007 07:54:22 +0200

"Brian C. Barnes" <bcbarnes at austin.rr.com> writes:

> 1. The change document states that #\newline is being reinstated. Does this
> mean that #\linefeed is removed?

No.

> Nowhere in r5.95 report is #\linefeed mentioned,

It most certainly is mentioned, in the same place as always.

> A) Textual ports must not have a transcoder?
>
> Or
>
> B) Textual ports may or may not have a transcoder?

B

> I assume B, since if the answer was A, and since binary ports do not have
> transcoders, there would be no point in transcoders at all. If the answer is
> B, however, how does one go about opening a textual port without a
> transcoder?

Via `open-string-input-port', for example.

> The library documents say that opening a port with no transcoder, or
> with #f for the transcoder, results in a binary port, otherwise, the
> port is opened as a textual port (presumably using the transcoder that
> was given).

No, it doesn't say that. It says that opening a *file* works this way.

-- 
Cheers =8-} Mike
Friede, V?lkerverst?ndigung und ?berhaupt blabla
Received on Tue Jun 26 2007 - 01:54:22 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC