[squeak-dev] The Trunk: Collections-topa.809.mcz

Tobias Pape Das.Linux at gmx.de
Sun Oct 28 19:33:48 UTC 2018


> On 28.10.2018, at 20:16, commits at source.squeak.org wrote:
> 
> Tobias Pape uploaded a new version of Collections to project The Trunk:
> http://source.squeak.org/trunk/Collections-topa.809.mcz
> 
> ==================== Summary ====================
> 
> Name: Collections-topa.809
> Author: topa
> Time: 28 October 2018, 8:16:44.149252 pm
> UUID: 65e8b64d-f325-47d8-8f83-ab4a9793ba9f
> Ancestors: Collections-eem.808
> 
> Add #histogramOf: convenience + test
> 
> =============== Diff against Collections-eem.808 ===============
> 
> Item was added:
> + ----- Method: Collection>>histogramOf: (in category 'converting') -----
> + histogramOf: aBlock
> + 
> + 	^ self collect: aBlock as: Bag!
> 
> 

My only question here, would you prefer a (self collect: aBlock as: Bag) sortedCounts instead?
It's even more histogrammy :D

best regards
	-Tobias



More information about the Squeak-dev mailing list