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 425: Add read-string, read-string!, write-string procedures to (scheme base)

2012-10-09 09:00:00
WG1 - Core
cowan
major
cowan
fixed
source
closed
2012-06-28 12:38:22
defect

This was requested by Formal Comment #424.

These procedures would be provided for parallelism with the byte-vector I/O operations:

Byte

Character

Bytevector

String

read-u8

read-char

read-bytevector(!)

read-string(!)

write-u8

write-char

write-bytevector

write-string

If #385 passes, optional start (inclusive) and end (exclusive) index arguments would be added to write-string. Otherwise write-partial-string would be provided.

statusnewdecided

WG1 voted to adopt read-string and write-string with the same arguments as read-bytevector and write-bytevector. It voted to reject read-string!.

owneralexshinncowan
statusdecidedwriting
resolutionfixed
statuswritingclosed