bytestring isn't a datatype, right? Shiro Kawai (07 Oct 2020 10:01 UTC)
Re: bytestring isn't a datatype, right? John Cowan (07 Oct 2020 15:15 UTC)
Re: bytestring isn't a datatype, right? Marc Nieper-Wißkirchen (07 Oct 2020 16:15 UTC)
Re: bytestring isn't a datatype, right? Wolfgang Corcoran-Mathe (07 Oct 2020 16:47 UTC)
Re: bytestring isn't a datatype, right? Wolfgang Corcoran-Mathe (07 Oct 2020 18:21 UTC)
Re: bytestring isn't a datatype, right? Shiro Kawai (07 Oct 2020 21:06 UTC)
Re: bytestring isn't a datatype, right? Lassi Kortela (08 Oct 2020 13:07 UTC)
Re: bytestring isn't a datatype, right? Shiro Kawai (08 Oct 2020 13:13 UTC)
Re: bytestring isn't a datatype, right? Marc Nieper-Wißkirchen (08 Oct 2020 13:24 UTC)
Re: bytestring isn't a datatype, right? John Cowan (10 Oct 2020 07:42 UTC)
Re: bytestring isn't a datatype, right? Shiro Kawai (10 Oct 2020 09:38 UTC)
Re: bytestring isn't a datatype, right? Wolfgang Corcoran-Mathe (10 Oct 2020 15:04 UTC)
Re: bytestring isn't a datatype, right? John Cowan (10 Oct 2020 20:40 UTC)
Re: bytestring isn't a datatype, right? Wolfgang Corcoran-Mathe (10 Oct 2020 23:08 UTC)
Re: bytestring isn't a datatype, right? John Cowan (11 Oct 2020 03:20 UTC)
Re: bytestring isn't a datatype, right? Marc Nieper-Wißkirchen (11 Oct 2020 08:26 UTC)
Re: bytestring isn't a datatype, right? Daphne Preston-Kendal (11 Oct 2020 08:39 UTC)
Re: bytestring isn't a datatype, right? John Cowan (11 Oct 2020 08:42 UTC)
Re: bytestring isn't a datatype, right? Marc Nieper-Wißkirchen (11 Oct 2020 09:10 UTC)
Optional features in SRFIs again, this time with syntax Lassi Kortela (11 Oct 2020 11:38 UTC)
Re: bytestring isn't a datatype, right? Wolfgang Corcoran-Mathe (11 Oct 2020 18:22 UTC)
Re: bytestring isn't a datatype, right? Marc Nieper-Wißkirchen (11 Oct 2020 18:31 UTC)
Re: bytestring isn't a datatype, right? Marc Nieper-Wißkirchen (11 Oct 2020 17:20 UTC)
Re: bytestring isn't a datatype, right? John Cowan (14 Oct 2020 15:20 UTC)
Comparing two vectors Lassi Kortela (08 Oct 2020 13:13 UTC)
Re: Comparing two vectors John Cowan (08 Oct 2020 15:01 UTC)
Re: Comparing two vectors Lassi Kortela (08 Oct 2020 20:42 UTC)

Re: bytestring isn't a datatype, right? Wolfgang Corcoran-Mathe 07 Oct 2020 16:47 UTC

On 2020-10-07 18:15 +0200, Marc Nieper-Wißkirchen wrote:
> I have to agree with Shiro that the "bytestring" prefix is a bit
> confusing. For example, "bytevector-pad" makes as much sense as
> "bytestring-pad".

I expressed a similar opinion in
https://srfi-email.schemers.org/srfi-207/msg/15222872/  I still don't
see a need for new terminology.  As I mentioned in that previous email,
previous SRFIs haven't introduced "string" names for "stringy"
procedures (e.g. in SRFI 178 we have bitvector-pad, not bitstring-pad).

bytestring=? is particularly confusing here.  It's just bytevector=?,
word for word.

> Actually (but this is a general critique about one direction of this
> SRFI), I don't like that ASCII characters are given special treatment.
> For legacy code, yes, but not for code that does not yet exist (i.e.
> code that uses SRFI 207). Thanks to characters like Ä. Ö. Ü, and ß in
> my native language, I have been plagued enough by incompatible
> encodings or encodings ignorant of characters outside the American
> English that I would like to draw a much clearer line between bytes
> and characters.

Agreed.  ASCII-only bytestrings are a legacy kluge, given that
utf8->/<-string are already present in the standard.

--
Wolfgang Corcoran-Mathe  <xxxxxx@sigwinch.xyz>

"It from bit." --John Wheeler