[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: VECTOR-RESIZE, VECTOR-COPY



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