[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Scheme-reports] Bitwise operations on bytes
- To: scheme-reports@x
- Subject: [Scheme-reports] Bitwise operations on bytes
- From: Alan Watson <alan@x>
- Date: Wed, 28 Mar 2012 23:52:48 -0600
While I understand that more complete operations on byte vectors are being left for the large language, their utility in the small language could be significantly improved by adding bitwise operations on bytes (and only bytes) along with perhaps bytevector-for-each and bytevector-map. Consider, for example, the awkwardness of using byte vectors to represent bit sets without bitwise operations.
I would imagine that the burden on implementors would be small, since I can't think of a Scheme that doesn't have bitwise operations on fixnums at least and since the for-each and map procedures can be written in Scheme (although there are advantages to standardizing them).
Have these possibilities been considered by the WG? Would they be interested in receiving a more complete proposal?
Scheme-reports mailing list