Hey,

I want to have a collection that's sortable but not always sorted. I've been using (essentially):

mySortedCollection := myOrderedCollection asSortedCollection.
myOrderedCollection := mySortedCollection asOrderedCollection.

        Or just:

s := (s asSortedCollection) asOrderedCollection.

OK? (It seems fine to me, but part of my mind still sticks thinks "Gee, that's a lot of overhead.") I really just want to write:

s sort.

I see the tools are there for SortedCollection but they're not meant to be used, I think.

        ===Blake===
_______________________________________________
Beginners mailing list
[email protected]
http://lists.squeakfoundation.org/mailman/listinfo/beginners

Reply via email to