The standard does *not* support - a removeAll: a - [was: Re: [BUG] Collection>>removeAll:]
Andrew C. Greenberg
squeak-dev at lists.squeakfoundation.org
Thu Sep 12 00:59:17 UTC 2002
My apologies as to my previous post -- I misread Lex's e-mail as an
attribution of the quoted excerpt to Richard. It would appear those
were Lex's words, not Richard's.
On Wednesday, September 11, 2002, at 07:31 PM, Lex Spoon wrote:
> "Richard A. O'Keefe" <ok at cs.otago.ac.nz> wrote:
> [... inline the assertions, too ...]
>
> That's an interesting way to look at the situation, but do note that
> most Smalltalkers will be suprised to find those assertions or
> corrections in removeAll:. Most fooAll: methods just do: on the
> argument and foo: each element, and have no particular protection
> against #foo: modifying the argument.
More information about the Squeak-dev
mailing list
|