|
From: | Stephen Compall |
Subject: | Re: [Help-smalltalk] [PATCH] Add #atAll:, improve MappedCollection |
Date: | Thu, 07 Jun 2007 02:51:03 -0500 |
User-agent: | Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.4) Gecko/20070509 SeaMonkey/1.1.2 |
Paolo Bonzini wrote:
This patch adds an #atAll: method to the keyed collections (i.e. Dictionary, MappedCollection, SequenceableCollection).
Great! I'll add that aSeqCollect atAll: anIntervalis a powerfully expressive idiom enabled by this extension, replacing all sorts of specialized collection methods, and I'm bound to use it all over the place when I don't want to look those up (or they aren't good enough).
-- Stephen Compall "^aCollection allSatisfy: [:each | aCondition]" is the one true idiom
[Prev in Thread] | Current Thread | [Next in Thread] |