[Pkg] The Trunk: 51Deprecated-mt.43.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Aug 12 08:25:16 UTC 2016


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

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

Name: 51Deprecated-mt.43
Author: mt
Time: 12 August 2016, 10:25:11.220343 am
UUID: b73f0ccb-866f-474a-987a-4c8fe1b1da8a
Ancestors: 51Deprecated-tfel.42

Deprecate #sortBy:.

=============== Diff against 51Deprecated-tfel.42 ===============

Item was added:
+ ----- Method: SequenceableCollection>>sortBy: (in category '*51Deprecated-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 deprecated: 'mt: Use #sorted:.'.
+ 	^ self asOrderedCollection
+ 		sort: aBlock;
+ 		yourself!



More information about the Packages mailing list