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

commits at source.squeak.org commits at source.squeak.org
Sat Nov 13 01:15:01 UTC 2021


A new version of Chronology-Core was added to project The Inbox:
http://source.squeak.org/inbox/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]!



More information about the Squeak-dev mailing list