* at 13/11 17:16 +0000 Fergal Daly said: > On Wed, Nov 12, 2003 at 05:17:28PM +0000, Simon Cozens wrote: > > Randy W. Sims: > > > Sounds like a set/multiset/bag structure. > > > > I thought it sounded more like a sorted array, but I'm prepared to be > > persuaded otherwise. (Primarily because I've already released the module > > to CPAN. ;) > > I think the point is that T::S::A is closer to a set than an array, or more > to the point it's interace is just an expansion of a Set's interface. > Whereas it is a restriction of an array's interface - well it doesn't have to > be a restriction but as you point out in the docs, using the full array > interface doesn't make sense and for instance
<snip lots of things about sets> However, if I am looking for a module that makes it easy for me to have a sorted array I am not going to look at modules with Set in the name. I'd wager a lot of people aren't either given that for most people a set is a rather obscure concept that they probably regard as having something to do with maths and maths scares people even more than computers ;). Accuracy in module names is all very well but when it comes at the cost of actually describing what they are to be used for then it's not a price worth paying. cheers Struan