[squeak-dev] The Inbox: Kernel-ct.1421.mcz

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


A new version of Kernel was added to project The Inbox:
http://source.squeak.org/inbox/Kernel-ct.1421.mcz

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

Name: Kernel-ct.1421
Author: ct
Time: 13 November 2021, 2:21:21.656577 am
UUID: 439a87c2-4cbd-bb43-8daa-ee529a7e1080
Ancestors: Kernel-eem.1420

Implements missing #adaptToScaledDecimal:andSend: on Object (#adaptToScaledDecimal:andCompare: already exists). Now it is possible to evaluate the following to get a collection of scaled decimals:

	2.04s * (1 to: 3) "#(2.04s2 4.08s2 6.12s2)"

=============== Diff against Kernel-eem.1420 ===============

Item was added:
+ ----- Method: Object>>adaptToScaledDecimal:andSend: (in category 'converting') -----
+ adaptToScaledDecimal: rcvr andSend: selector
+ 	"If no method has been provided for adapting an object to a ScaledDecimal,
+ 	then it may be adequate to simply adapt it to a number."
+ 	^ self adaptToNumber: rcvr andSend: selector!



More information about the Squeak-dev mailing list