No (bytevector n ...) ? Christian Stigen Larsen (01 Sep 2012 06:54 UTC)
Re: [Scheme-reports] No (bytevector n ...) ? Alex Shinn (01 Sep 2012 15:43 UTC)

No (bytevector n ...) ? Christian Stigen Larsen 01 Sep 2012 06:54 UTC

Hi,

is there no procedure to create bytevectors beyond using the reader syntax
#u8(n ...).  Will there be a (bytevector n ...) constructor in the final
R7RS?

I've failed to come up with any discussion or rationale behind this in the
R7RS drafts, the tickets, ballots and the internal and public discussion
lists.

As a user (and hobbyist implementor) of R7RS I would expect a certain
symmetry with vectors and SRFI-4, which both have procedural constructors.
It's cumbersome having to combine make-bytevector and bytevector-u8-set! (if
that's the current naming convention).

Regards,

--
Christian Stigen Larsen