[squeak-dev] The Trunk: Collections-ct.872.mcz
commits at source.squeak.org
commits at source.squeak.org
Thu Apr 7 21:01:08 UTC 2022
Christoph Thiede uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-ct.872.mcz
==================== Summary ====================
Name: Collections-ct.872
Author: ct
Time: 20 January 2020, 12:26:15.859545 am
UUID: 9d48e360-1121-6541-ba00-1d06311f2f0c
Ancestors: Collections-nice.870
Implement #at:ifPresent: on SequenceableCollection
Text theQuickBrownFox at: 42 ifPresent: [:char |
self inform: ({char.char} joinSeparatedBy: $.) asUppercase].
=============== Diff against Collections-nice.870 ===============
Item was added:
+ ----- Method: SequenceableCollection>>at:ifPresent: (in category 'accessing') -----
+ at: index ifPresent: aBlock
+
+ ^ self at: index ifPresent: aBlock ifAbsent: []!
More information about the Squeak-dev
mailing list
|