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 #326
cc
changetime
2012-10-05 12:42:46
component
WG1 - Core
description
From Per Bothner:
Copying a slice from one vector/string into another is such a fundamental operation that it should be added, IMO, considering that it's tedious to write if "by hand", and that a standard library routine is likely to be much more efficient (especially for strings, since that avoids the need for boxing and unboxing the characters). [JC: Many implementations represent characters as immediates, however.]
One could also argue that "character" operations don't really make semantic sense in a Unicode world, and so `string-set!` has limited usefulness. Thus `string-copy` [with start/end arguments] and `string-copy!` are the actual useful "primitive" operations.
JC: These would be the five-argument versions based on the current `bytevector-copy-partial!`, possibly with renumbering of arguments depending on the outcome of #325.
id
326
keywords
milestone
owner
cowan
priority
major
reporter
cowan
resolution
fixed
severity
status
closed
summary
Add destructive list-copy!, string-copy!, and vector-copy!
time
2012-01-10 08:31:11
type
defect
Changes
Change at time 2012-10-05 12:42:46
author
cowan
field
comment
newvalue
oldvalue
4
raw-time
1349415766791444
ticket
326
time
2012-10-05 12:42:46
Change at time 2012-10-05 12:42:46
author
cowan
field
resolution
newvalue
fixed
oldvalue
raw-time
1349415766791444
ticket
326
time
2012-10-05 12:42:46
Change at time 2012-10-05 12:42:46
author
cowan
field
status
newvalue
closed
oldvalue
writing
raw-time
1349415766791444
ticket
326
time
2012-10-05 12:42:46
Change at time 2012-04-09 15:13:02
author
cowan
field
comment
newvalue
oldvalue
3
raw-time
1333959182146773
ticket
326
time
2012-04-09 15:13:02
Change at time 2012-04-09 15:13:02
author
cowan
field
owner
newvalue
cowan
oldvalue
alexshinn
raw-time
1333959182146773
ticket
326
time
2012-04-09 15:13:02
Change at time 2012-04-09 15:13:02
author
cowan
field
status
newvalue
writing
oldvalue
decided
raw-time
1333959182146773
ticket
326
time
2012-04-09 15:13:02
Change at time 2012-04-05 09:50:49
author
cowan
field
comment
newvalue
oldvalue
2
raw-time
1333594249374613
ticket
326
time
2012-04-05 09:50:49
Change at time 2012-04-05 09:50:49
author
cowan
field
status
newvalue
decided
oldvalue
new
raw-time
1333594249374613
ticket
326
time
2012-04-05 09:50:49
Change at time 2012-04-05 08:58:34
author
cowan
field
comment
newvalue
The WG voted to adopt the part of this proposal covering `string-copy!` and `vector-copy!`, but not `list-copy!`.
oldvalue
1
raw-time
1333591114910554
ticket
326
time
2012-04-05 08:58:34