[Larceny-users] (newline port) in err5rs mode

David Rush kumoyuki at gmail.com
Mon Feb 28 05:05:44 EST 2011


On 28 February 2011 01:11,  <will at ccs.neu.edu> wrote:
> The portable way to write text to a (standard-output-port) or
> (standard-error-port) is to use the transcoded-port procedure
> to obtain a textual output port, as in the following example:
>
>> (define p (transcoded-port (standard-error-port) (native-transcoder)))
>> (newline p)

presumably CURRENT-OUTPUT-PORT and CURRENT-ERROR-PORT work as in R5?

david
-- 
GPG Public key at http://cyber-rush.org/drr/gpg-public-key.txt



More information about the Larceny-users mailing list