Bill Allombert on Tue, 17 Dec 2002 11:42:18 +0100


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

Re: Vec vs Vecsmall


On Sun, Dec 15, 2002 at 06:42:41PM +0100, Karim BELABAS wrote:
> But then we lose Vec("abc") --> ["a", "b", "c"].
> Since there's no easy way to go from integer to character value
> (e.g 97 --> 'a'), it is a net loss.

I thing this feature should never has been implemented in the first place.
We should remove it (and similarly for Vecsmall) and add a new function
maybe strsplit() that do it instead, or something better.
Overloading functions outside semantic bounds is confusing.

Cheers,
Bill.