Support of algebraic operations on sets
azreal1977 at hotmail.com
Wed Jun 20 17:04:03 UTC 2007
> Date: Sun, 17 Jun 2007 22:56:42 +0300> From: siguctua at gmail.com> To: Ron at usmedrec.com; squeak-dev at lists.squeakfoundation.org> Subject: Re: Support of algebraic operations on sets> > 2nd: as Bert notes, Collections don't introduce index at all. There's> no #at: , #at:put: in Collection. Collections introducing basic> methods (like #do:) which used for iterating through all of its items,> which actually states that any collection must know how iterate> through own items, but there's nothing about how these items are> stored/accessed or how they are indexed.And this is place that traits can really help. What would really be correct here is a trait called "Indexable" or similar that all indexable collections have. Then we wouldn't have to have so many #shouldNotImplement messages. :)
Live Earth is coming. Learn more about the hottest summer event - only on MSN.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev