Re: [Scheme-reports] **-copy! doesn't specify when start and end is omitted
Takashi Kato 11 Nov 2012 17:54 UTC
On 11/11/2012 18:24, Arthur A. Gleckler wrote:
> On Sun, Nov 11, 2012 at 9:06 AM, Takashi Kato <ktakashi@ymail.com
> <mailto:ktakashi@ymail.com>> wrote:
>
> string/vector/bytevector-copy! procedures don't specify when start and
> end parameters are omitted. I think it is better to mention either it
> must copy somehow properly or signals an error.
>
>
> Please see the notes under the table on page 7 (section 1.3.3).
Well, still it doesn't specify which bytevector/string/vector's start
and end. I couldn't read whether or not this is legal.
(let ((bv (bytevector 1 2 3 4 5)))
(bytevector-copy! bv 2 #u8(6 7 8 9 10))
bv))
_/_/
Takashi Kato
E-mail: ktakashi@ymail.com