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.

Ticket 450: Eliminate default for fill argument in vector-copy

2012-10-07 03:50:39
WG1 - Core
cowan
major
cowan
fixed
source
closed
2012-07-02 11:20:10
defect

Marc Feeley writes:

It is a bad idea for the fill parameter of vector-copy to have a default. When fill is absent, it should be an error when start and end are not within the bounds of the sequence. Otherwise, some index calculation errors (off-by-one on end) may go unnoticed. Moreover, when it is supplied, fill should also be used when start is less than 0, for consistency with the case where end is greater to the length of the sequence.

statusnewdecided

WG1 voted to accept this change.

owneralexshinncowan
statusdecidedwriting
resolutionfixed
statuswritingclosed