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

Re: VECTOR-RESIZE, VECTOR-COPY

This page is part of the web mail archives of SRFI 43 from before July 7th, 2015. The new archives for SRFI 43 contain all messages, not just those from before July 7th, 2015.



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