Opened 5 years ago

Closed 5 years ago

#425 closed defect (fixed)

Add read-string, read-string!, write-string procedures to (scheme base)

Reported by: cowan Owned by: cowan
Priority: major Milestone:
Component: WG1 - Core Keywords:
Cc:

Description

This was requested by Formal Comment #424.

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

ByteCharacterBytevectorString
read-u8read-charread-bytevector(!)read-string(!)
write-u8write-charwrite-bytevectorwrite-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.

Change History (3)

comment:1 Changed 5 years ago by cowan

  • Status changed from new to decided

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!.

comment:2 Changed 5 years ago by cowan

  • Owner changed from alexshinn to cowan
  • Status changed from decided to writing

comment:3 Changed 5 years ago by cowan

  • Resolution set to fixed
  • Status changed from writing to closed
Note: See TracTickets for help on using tickets.