[squeak-dev] The Trunk: Chronology-Core-ct.72.mcz

Marcel Taeumel marcel.taeumel at hpi.de
Thu Jan 27 10:14:12 UTC 2022


+1 Thanks!

Best,
Marcel
Am 26.01.2022 21:38:20 schrieb commits at source.squeak.org <commits at source.squeak.org>:
Christoph Thiede uploaded a new version of Chronology-Core to project The Trunk:
http://source.squeak.org/trunk/Chronology-Core-ct.72.mcz

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

Name: Chronology-Core-ct.72
Author: ct
Time: 13 November 2021, 2:14:59.271577 am
UUID: d7142e3f-c575-a341-86ad-9d2a0c2cd04a
Ancestors: Chronology-Core-mt.71

Makes durations compatible with collection-wise calculations.

Examples:
{1 second. 2 seconds} + 3 seconds. "{0:00:00:04 . 0:00:00:05}"
{6 seconds. 8 seconds} / 2 seconds. "#(3 4)"

Especially the latter has practical relevance in comparing benchmarks.

=============== Diff against Chronology-Core-mt.71 ===============

Item was added:
+ ----- Method: Duration>>adaptToCollection:andSend: (in category 'as yet unclassified') -----
+ adaptToCollection: rcvr andSend: selector
+ "If I am involved in arithmetic with a Collection, return a Collection of the results of each element combined with me in that expression."
+
+ ^ rcvr collect: [:element | element perform: selector with: self]!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220127/c8a23c96/attachment.html>


More information about the Squeak-dev mailing list