This site is a static rendering of the Trac instance that was used by R7RS-WG1 for its work on R7RS-small (PDF), which was ratified in 2013. For more information, see Home.

Ticket 424: Formal Comment: Add write-string procedure to (scheme base)

2012-10-12 03:20:01
WG1 - Core
cowan
major
cowan
fixed
source
closed
2012-06-28 12:27:03
defect

Submitter's Name: Arthur Smyles

Submitter's Email Address: atsmyles at verizon.net

Draft Version of Report: 6th

Section of draft R7RS: 6.13.3. Output

Summary: Add write-string procedure to (scheme base)

Full Description:

For binary-ports there are the procedures write-u8 and write-bytevector. However, for textual ports there is only write-char. This proposal requests the addition of write-string. It may be argued that display already provides this, however it is in a library that is optional. Strings written with write-string are not enclosed in double quotes, and no characters are escaped within those strings. Change display procedure for strings to say that they are written as if by write-string.

descriptionSubmitter's Name: Arthur Smyles Submitter's Email Address: atsmyles at verizon.net Draft Version of Report: 6th Section of draft R7RS: 6.13.3. Output Summary: Add `write-string` procedure to `(scheme base)` Full Description: For binary-ports there are the procedures `write-u8` and `write-bytevector`. However, for textual ports there is only `write-char`. This proposal requests the addition of `write-string`. It may be argued that `display` already provides this, however it is in a library that is optional. Strings written with `write-string` are not enclosed in double quotes, and no characters are escaped within those strings. Change `display procedure for strings to say that they are written as if by `write-string`. Submitter's Name: Arthur Smyles Submitter's Email Address: atsmyles at verizon.net Draft Version of Report: 6th Section of draft R7RS: 6.13.3. Output Summary: Add `write-string` procedure to `(scheme base)` Full Description: For binary-ports there are the procedures `write-u8` and `write-bytevector`. However, for textual ports there is only `write-char`. This proposal requests the addition of `write-string`. It may be argued that `display` already provides this, however it is in a library that is optional. Strings written with `write-string` are not enclosed in double quotes, and no characters are escaped within those strings. Change `display` procedure for strings to say that they are written as if by `write-string`.
owneralexshinncowan
statusnewaccepted
resolutionfixed
statusacceptedclosed