j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
A new version of Collections was added to project The Inbox: http://source.squeak.org/inbox/Collections-ct.957.mcz
==================== Summary ====================
Name: Collections-ct.957 Author: ct Time: 7 September 2021, 1:34:32.169692 pm UUID: ea178eab-7ac1-f24f-980d-5377e4c824ac Ancestors: Collections-dtl.954
Adds Collection >> #sortedSafely analogously to Dictionary >> #keysSortedSafely. This can establish an order for arbitrary kinds of elements.
=============== Diff against Collections-dtl.954 ===============
Item was added: + ----- Method: Collection>>sortedSafely (in category 'sorting') ----- + sortedSafely + + ^ self sorted: #compareSafely:!
Item was changed: ----- Method: Dictionary>>keysSortedSafely (in category 'accessing') ----- keysSortedSafely + + ^ self keys sortedSafely! - "Answer a sorted Array containing the receiver's keys." - ^ self keys sort: - [ : x : y | x compareSafely: y ]!
squeak-dev@lists.squeakfoundation.org