[squeak-dev] The Inbox: Collections-mt.961.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Oct 27 11:27:06 UTC 2021


A new version of Collections was added to project The Inbox:
http://source.squeak.org/inbox/Collections-mt.961.mcz

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

Name: Collections-mt.961
Author: mt
Time: 27 October 2021, 1:27:04.102238 pm
UUID: ff529f7f-b6c8-da48-91cf-201db580c537
Ancestors: Collections-eem.960

Propose addition of #allIn:. See comment. Please review and discuss.

=============== Diff against Collections-eem.960 ===============

Item was added:
+ ----- Method: Array>>allIn: (in category 'accessing') -----
+ allIn: aBlock
+ 	"Use the receivers contents as arguments for aBlock. Truncate not needed arguments, fill in missing ones with nil. Similar to #groupsDo: for single block invocation. Use it to avoid nested calls of #in:.
+ 	
+ 	Note that this is implemented here in Array to allow its use only in literal arrays."
+ 	
+ 	^ aBlock valueWithEnoughArguments: self!



More information about the Squeak-dev mailing list