On Wednesday, September 11, 2002, at 07:31 PM, Lex Spoon wrote:
"Richard A. O'Keefe" ok@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.
Which, of course, concedes the point that fooAll: methods entail an implied iteration on its parameter.
Q.E.D.