[gambit-list] explicit pp

Marc Feeley feeley at iro.umontreal.ca
Fri Jul 24 11:25:29 EDT 2009


On 24-Jul-09, at 11:05 AM, Stéphane Le Cornec wrote:

>
> On 2009-7-24, at 1:35 , Marc Feeley wrote:
>>
>> How about
>>
>>> (display '(a "\n  " b c))
>> (a
>>  b c)
>
> Hum yeah, forgot...
> Does "\n" converts to CRLF depending on the port settings?
>

Yes.  A "newline" in a string (or as a character) is converted to LF  
or CR or CR-LF depending on the port's eol-encoding when the stream of  
characters is converted to the stream of bytes sent to the device.

Marc




More information about the Gambit-list mailing list