[squeak-dev] The Inbox: Collections-ct.962.mcz
commits at source.squeak.org
commits at source.squeak.org
Sat Nov 13 01:29:14 UTC 2021
A new version of Collections was added to project The Inbox:
http://source.squeak.org/inbox/Collections-ct.962.mcz
==================== Summary ====================
Name: Collections-ct.962
Author: ct
Time: 13 November 2021, 2:29:12.457577 am
UUID: 762c672f-abb5-194e-9f54-14cce19aa7f9
Ancestors: Collections-pre.961
Adds convenience constructor to Bag.
Bag newFromContents: (Dictionary new at: #mon put: 7; at: #tue put: 2; at: #wed put: 4; yourself).
=============== Diff against Collections-pre.961 ===============
Item was added:
+ ----- Method: Bag class>>newFromContents: (in category 'instance creation') -----
+ newFromContents: aDictionary
+
+ ^ self new setContents: aDictionary!
More information about the Squeak-dev
mailing list
|