[Pkg] The Trunk: Collections-fbs.522.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Jul 3 21:12:05 UTC 2013

Frank Shearar uploaded a new version of Collections to project The Trunk:

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

Name: Collections-fbs.522
Author: fbs
Time: 3 July 2013, 10:11:18.754 pm
UUID: 716983f2-7bba-014d-a133-8bd130322af0
Ancestors: Collections-fbs.521

#gather: (also known as #flatMap: or #mapcan:) belongs in the Collections package: it's generally useful outside PackageInfo.

=============== Diff against Collections-fbs.521 ===============

Item was added:
+ ----- Method: Collection>>gather: (in category 'enumerating') -----
+ gather: aBlock
+ 	^ Array streamContents:
+ 		[:stream |
+ 		self do: [:ea | stream nextPutAll: (aBlock value: ea)]]!

More information about the Packages mailing list