Taylan Ulrich Bayýrlý/Kammer scripsit:

> Is using `get-output-string' really "reading" from the port?

In SRFI 6 and R7RS, it is not; it simply retrieves all the
characters that have ever been written to the port and does
not side-effect the port.  The R6RS analogue, however, retrieves
what is currently available on the port and then removes those
characters from the port, which is much more like reading.

-- 
John Cowan          http://www.ccil.org/~cowan        [email protected]
Deshil Holles eamus.  Deshil Holles eamus.  Deshil Holles eamus.
Send us, bright one, light one, Horhorn, quickening, and wombfruit. (3x)
Hoopsa, boyaboy, hoopsa!  Hoopsa, boyaboy, hoopsa!  Hoopsa, boyaboy, hoopsa!
  --Joyce, Ulysses, "Oxen of the Sun"





_______________________________________________
Scheme-reports mailing list
[email protected]
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports

Reply via email to