[Larceny-users] (newline port) in err5rs mode
William D Clinger
will at ccs.neu.edu
Mon Feb 28 16:31:58 EST 2011
David Rush wrote:
> presumably CURRENT-OUTPUT-PORT and CURRENT-ERROR-PORT work as in R5?
Yes, but the R5RS doesn't say much about either. In fact, the R5RS
doesn't even mention a current-error-port procedure.
The R6RS requires both (current-output-port) and (current-error-port)
to "return default textual ports". It also says that these ports are
"normally" "associated with standard output, and standard error,
respectively", presumably via some implementation-dependent use of
the transcoded-port procedure or something analogous as illustrated
in my previous message.
Will
More information about the Larceny-users
mailing list