This site is a static rendering of the Trac instance that was used by R7RS-WG1 for its work on R7RS-small (PDF), which was ratified in 2013. For more information, see Home.

Source for ticket #435

cc


    

changetime

2012-10-12 03:34:10

component

WG1 - Core

description

Submitter's name: Marc Feeley

Submitter's email: feeley at iro.umontreal.ca

Relevant draft: r7rs draft 6

Type: defect

Priority: minor

Relevant section of draft: 6.9. Bytevectors

Summary: Bytevectors should be called u8vectors

Many implementations of Scheme have adopted SRFI-4 where bytevectors are called u8vectors, and where the procedures operating on bytevectors have `u8vector` in their name.

I see no reason to introduce new names.  It will require many implementations to implement the new names, and moreover the SRFI-4 names will have to be kept for code which uses SRFI-4.  This is needless bloat.

The name `u8vector` is a very mnemonic way of expressing verbally the external representation `#u8(...)` which is used by R7RS for bytevectors.

I also find the names `bytevector-u8-ref` and `bytevector-u8-set!` very clumsy and verbose compared to `u8vector-ref` and `u8vector-set!`.

id

435

keywords


    

milestone


    

owner

cowan

priority

major

reporter

cowan

resolution

wontfix

severity


    

status

closed

summary

Formal Comment: Bytevectors should be called u8vectors

time

2012-07-02 03:59:02

type

defect

Changes

Change at time 2012-10-12 03:34:10

author

cowan

field

comment

newvalue


    

oldvalue

4

raw-time

1349987650027761

ticket

435

time

2012-10-12 03:34:10

Change at time 2012-10-12 03:34:10

author

cowan

field

resolution

newvalue

wontfix

oldvalue


    

raw-time

1349987650027761

ticket

435

time

2012-10-12 03:34:10

Change at time 2012-10-12 03:34:10

author

cowan

field

status

newvalue

closed

oldvalue

accepted

raw-time

1349987650027761

ticket

435

time

2012-10-12 03:34:10

Change at time 2012-07-03 13:08:26

author

cowan

field

comment

newvalue


    

oldvalue

3

raw-time

1341295706375262

ticket

435

time

2012-07-03 13:08:26

Change at time 2012-07-03 13:08:26

author

cowan

field

owner

newvalue

cowan

oldvalue

alexshinn

raw-time

1341295706375262

ticket

435

time

2012-07-03 13:08:26

Change at time 2012-07-03 13:08:26

author

cowan

field

status

newvalue

accepted

oldvalue

reopened

raw-time

1341295706375262

ticket

435

time

2012-07-03 13:08:26

Change at time 2012-07-03 13:08:16

author

cowan

field

comment

newvalue


    

oldvalue

2

raw-time

1341295696908947

ticket

435

time

2012-07-03 13:08:16

Change at time 2012-07-03 13:08:16

author

cowan

field

resolution

newvalue


    

oldvalue

wontfix

raw-time

1341295696908947

ticket

435

time

2012-07-03 13:08:16

Change at time 2012-07-03 13:08:16

author

cowan

field

status

newvalue

reopened

oldvalue

closed

raw-time

1341295696908947

ticket

435

time

2012-07-03 13:08:16

Change at time 2012-07-02 06:09:01

author

cowan

field

comment

newvalue

We voted for `bytevector` explicitly, and no new arguments have been given here.  It would be inconsistent to use `u8vector-ref` given `bytevector`; the reason not to use simple `bytevector-ref` is for upward compatibility with [wiki:BlobAPI BlobAPI] or whatever replaces it.

oldvalue

1

raw-time

1341184141241429

ticket

435

time

2012-07-02 06:09:01

Change at time 2012-07-02 06:09:01

author

cowan

field

resolution

newvalue

wontfix

oldvalue


    

raw-time

1341184141241429

ticket

435

time

2012-07-02 06:09:01

Change at time 2012-07-02 06:09:01

author

cowan

field

status

newvalue

closed

oldvalue

new

raw-time

1341184141241429

ticket

435

time

2012-07-02 06:09:01