j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Marcel Taeumel uploaded a new version of Kernel to project The Trunk: http://source.squeak.org/trunk/Kernel-mt.1517.mcz
==================== Summary ====================
Name: Kernel-mt.1517 Author: mt Time: 1 June 2023, 10:17:09.413467 am UUID: 6972dee4-7908-5d4b-a653-eb05dfff594f Ancestors: Kernel-mt.1516
Adds a little helper to conveniently collect repeated measures. Complements #timesRepeat:.
=============== Diff against Kernel-mt.1516 ===============
Item was added: + ----- Method: Integer>>timesCollect: (in category 'enumerating') ----- + timesCollect: aBlock + "Evaluate the argument, aBlock, the number of times represented by the + receiver. Collect all results and answer them." + + ^ Array streamContents: [:results | + self timesRepeat: [results nextPut: aBlock value]]!
squeak-dev@lists.squeakfoundation.org