[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] Bug in CollStream-reset or ArrayedCollection-extend?

On 21 Nov 2004, at 21:00, James McCartney wrote:

*on is for writing on a collection.
If you want to read a collection, use the setter for collection.

That's what I did in my Buffer method.

Perhaps *new could be rewritten as;

	*new { arg collection;
		^super.new.collection_(collection ?? { String.new(128) })

That shouldn't break anything and could be useful. Shall I do this?