new Smalltalk programmer's thoughts
tim Rowledge
tim at rowledge.org
Sat May 6 16:31:30 UTC 2006
On 6-May-06, at 9:26 AM, Todd Blanchard wrote:
>
> For collections, provide an offset wrapper that implements
> SequenceableCollection's interface, but shifts indices by the offset.
>
> Done. You don't have to change all of Smalltalk to get what you
> want (and most of us would prefer you not change the code we are
> using, thanks). You can certainly extend it to get the api you want.
CArray. Or CArrayAccessor or something similar. Used in some of the
vm/plugin simulation stuff in the VMMaker package.
tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Useful random insult:- Been playing with the pharmacy section again.
More information about the Squeak-dev
mailing list
|