[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scheme-reports] Formal Comment: add write-string to (scheme base)



Looking closer I see alot of missing string functions where there is an analogous bytevector procedure

examples: read-string, read-string!, write-partial-string

Arthur
On 6/27/12 4:34 PM, Arthur Smyles wrote:
Formal Comment

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 written by write-string.




_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports


_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports