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 325: Eliminate bytevector-copy!

2012-10-07 09:02:05
WG1 - Core
cowan
major
cowan
fixed
source
closed
2012-01-10 06:32:55
defect

(bytevector-copy! from to) is equivalent to (bytevector-copy-partial from 0 (bytevector-length) to 0). I don't see any reason to believe that this case is so special that it needs its own name.

I suggest that we remove the existing bytevector-copy! from the small language, and rename bytevector-copy-partial! to bytevector-copy!, with the order of arguments to at from start end, the same order used in SRFI 43's vector-copy!. Note that SRFI 43 will be part of the large language.

statusnewdecided

The WG voted to adopt this proposal.

owneralexshinncowan
statusdecidedwriting
resolution␣fixed
statuswritingclosed

To be clear, this does not mean that bytevector-copy! does not exist any more; it's actually the name bytevector-copy-partial! that was removed.