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 507: R6RS/R7RS incompatibility of bytevector-copy! procedure

2013-07-07 03:12:33
WG1 - Core
alexshinn
major
cowan
fixed
source
closed
2013-05-13 08:08:43
defect

Per Bothner writes:

I just noticed one unresolvable incompatibility with R6RS:

(bytevector-copy! bv1 i bv2 j k)

In R6RS this copies bv1[i..i+k-1] into bv2[j..j+k-1]. In the draft, it copies bv2[j..k-1] into bv1[i..i+(k-j)-1]. Ouch. OTOH, I think R6RS got this one wrong: Mutable operations in Scheme have the target ("left-hand") value first, and the source ("right-hand") value last.

I have added a note to the 10th draft warning that R6RS is different.

resolutionfixed
statusnewclosed