wolverian skribis 2005-09-24 13:45 (+0300): > Why not define .chars like this: > Context Return value > item amount of units > list units themselves
Agreed, of course. > Originally I thought that .elems and .chars were symmetric and both > should behave the same semantically I still think this. They certainly LOOK symmetric. But .elems isn't needed. At all. [EMAIL PROTECTED] already is the number of elements, list @foo already is a list of elements. Now, if we're going to have .elems anyway, then let it be symmetric with .chars. The difference with @foo without .elems would then be non-Num item context: item @foo returns [EMAIL PROTECTED], but item @foo.elems returns [EMAIL PROTECTED] Still, I'd prefer not having .elems at all, as it adds nothing but confusion, regardless of which of the two semantic sets is chosen. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html