Re: New draft (#4) of SRFI 207: String-notated bytevectors
Marc Nieper-WiÃkirchen 05 Oct 2020 20:19 UTC
Am Mo., 5. Okt. 2020 um 21:18 Uhr schrieb Wolfgang Corcoran-Mathe
<xxxxxx@sigwinch.xyz>:
> But I'm wondering now if perhaps string->bytestring is a confusing
> idea, at least in name. string->bytestring and bytestring->string are
> basically read/write with string-port I/O, respectively. With a
> reader/writer which recognizes the SNB external representation, we get
> this for free. So perhaps the handling of the SNB representation
> could be advantageously left to the reader/writer, entirely?
>
> This would accord with the way Scheme handles other external
> representations. There is, for example, no "string->string" procedure
> for parsing the external representation of strings.
+1