[BUG]Collection>>removeAll:
Andrew C. Greenberg
werdna at mucow.com
Thu Aug 22 02:40:40 UTC 2002
On Tuesday, August 20, 2002, at 03:32 AM, goran.hultgren at bluefish.se
wrote:
> I agree with everything said. :-)
>
> And when we are on the subject of removals in Collections. Here are a
> few discoveries/thoughts/musings this morning - they may not lead
> anywhere, but I thought I could share them anyhow:
>
> What about Collection>>removeAllSuchThat: ?
>
> I noticed the other day that this code:
>
> 'abc' removeAllSuchThat: [:x | x = $d ]
Strings and Arrays are immutable as to their size. Thus, the #remove:
message and its progeny, unsurprisingly, don't mean much in these
contexts.
More information about the Squeak-dev
mailing list
|