Christoph Thiede uploaded a new version of Collections to project The Trunk: http://source.squeak.org/trunk/Collections-ct.980.mcz
==================== Summary ====================
Name: Collections-ct.980 Author: ct Time: 26 January 2022, 9:46:11.770407 pm UUID: 465bffe2-5612-4c40-974b-33bd5ec2dbbd Ancestors: Collections-mt.978
Improves polymorphy between Collection and Stream by adding missing convenience selectors on the latter. We already have #select:thenCollect: there, so this is just a logical complement.
=============== Diff against Collections-mt.978 ===============
Item was added: + ----- Method: Stream>>collect:thenDo: (in category 'collections - enumerating') ----- + collect: collectBlock thenDo: doBlock + + ^ (self collect: collectBlock) do: doBlock!
Item was added: + ----- Method: Stream>>collect:thenSelect: (in category 'collections - enumerating') ----- + collect: collectBlock thenSelect: selectBlock + + ^ (self collect: collectBlock) select: selectBlock!
Item was added: + ----- Method: Stream>>reject:thenDo: (in category 'collections - enumerating') ----- + reject: rejectBlock thenDo: doBlock + + ^ (self reject: rejectBlock) do: doBlock!
Item was added: + ----- Method: Stream>>select:thenDo: (in category 'collections - enumerating') ----- + select: selectBlock thenDo: doBlock + + ^ (self select: selectBlock) do: doBlock!
packages@lists.squeakfoundation.org