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 #436

cc


    

changetime

2012-10-12 03:41:22

component

WG1 - Core

description

Formal Comment

Submitter's name: Marc Feeley
Submitter's email: feeley at iro.umontreal.ca
Relevant draft: r7rs draft 6

Type: defect
Priority: major
Relevant section of draft: 6.7. Strings, 6.8. Vectors, 6.9. Bytevectors, 6.10. Control features

Summary: Generalization of append, map, and for-each to other sequences

R7RS has three vector-like data types: strings, vectors and
bytevectors.

The procedure

  (string-append string ...)

exists to concatenate strings, like append concatenates lists.
However there is no vector-append and bytevector-append which
concatenate vectors and bytevectors.

The procedures

  (string-map proc string1 string2 ...)
  (vector-map proc vector1 vector2 ...)

  (string-for-each proc string1 string2 ...)
  (vector-for-each proc vector1 vector2 ...)

are for strings and vectors what map and for-each are for lists.
There is no such procedures for bytevectors.

For consistency, these missing procedures should be added.

id

436

keywords


    

milestone


    

owner

cowan

priority

major

reporter

alexshinn

resolution

fixed

severity


    

status

closed

summary

Formal Comment: Generalization of append, map, and for-each to other sequences

time

2012-07-02 04:02:39

type

defect

Changes

Change at time 2012-10-12 03:41:22

author

cowan

field

comment

newvalue

The WG voted for `vector-append` and `bytevector-append`, but not `bytevector-map` or `bytevector-for-each`.

oldvalue

2

raw-time

1349988082539847

ticket

436

time

2012-10-12 03:41:22

Change at time 2012-10-12 03:41:22

author

cowan

field

resolution

newvalue

fixed

oldvalue


    

raw-time

1349988082539847

ticket

436

time

2012-10-12 03:41:22

Change at time 2012-10-12 03:41:22

author

cowan

field

status

newvalue

closed

oldvalue

accepted

raw-time

1349988082539847

ticket

436

time

2012-10-12 03:41:22

Change at time 2012-07-02 09:45:23

author

cowan

field

comment

newvalue


    

oldvalue

1

raw-time

1341197123562772

ticket

436

time

2012-07-02 09:45:23

Change at time 2012-07-02 09:45:23

author

cowan

field

owner

newvalue

cowan

oldvalue

alexshinn

raw-time

1341197123562772

ticket

436

time

2012-07-02 09:45:23

Change at time 2012-07-02 09:45:23

author

cowan

field

status

newvalue

accepted

oldvalue

new

raw-time

1341197123562772

ticket

436

time

2012-07-02 09:45:23