Email list hosting service & mailing list manager

VECTOR-RESIZE, VECTOR-COPY Taylor Campbell (17 Dec 2003 00:24 UTC)
Re: VECTOR-RESIZE, VECTOR-COPY Alex Shinn (17 Dec 2003 02:26 UTC)

Re: VECTOR-RESIZE, VECTOR-COPY Alex Shinn 17 Dec 2003 02:24 UTC

At Tue, 16 Dec 2003 19:24:38 -0500, Taylor Campbell wrote:
>
> It just occurred to me: these are really the same operation, just that
> VECTOR-COPY lets you specify START, too, but VECTOR-RESIZE lets you
> enlarge the vector.  Could these be merged and made so that VECTOR-COPY
> take an extra optional argument, fill, and be able to create vectors
> larger than the input?

I think that makes more sense, especially since VECTOR-RESIZE sounds to
me as though it should be mutating the original vector (despite the
absence of !).

--
Alex