[squeak-dev] The Trunk: Collections-mt.707.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Aug 12 08:24:47 UTC 2016


Marcel Taeumel uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-mt.707.mcz

==================== Summary ====================

Name: Collections-mt.707
Author: mt
Time: 12 August 2016, 10:24:25.707343 am
UUID: 08096a9d-2908-cb43-9f45-47106e6f1eb5
Ancestors: Collections-mt.706

Deprecate #sortBy:.

=============== Diff against Collections-mt.706 ===============

Item was removed:
- ----- Method: SequenceableCollection>>sortBy: (in category 'copying') -----
- sortBy: aBlock
- 	"Create a copy that is sorted.  Sort criteria is the block that accepts two arguments.
- 	When the block is true, the first arg goes first ([:a :b | a > b] sorts in descending
- 	order)."
- 
- 	^ self asOrderedCollection
- 		sort: aBlock;
- 		yourself!



More information about the Squeak-dev mailing list