The Inbox: Collections-cmm.819.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

The Inbox: Collections-cmm.819.mcz

commits-2
Chris Muller uploaded a new version of Collections to project The Inbox:
http://source.squeak.org/inbox/Collections-cmm.819.mcz

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

Name: Collections-cmm.819
Author: cmm
Time: 27 January 2019, 4:48:02.281136 pm
UUID: f625e4bd-47ec-4e68-b9a4-5add60915489
Ancestors: Collections-pre.818

Let Strings have the same #name as the object they name, sans Smalltalk syntax.  Allows the #name of either to be used as a lookup key.

=============== Diff against Collections-pre.818 ===============

Item was added:
+ ----- Method: String>>name (in category 'accessing') -----
+ name
+ ^ self!


Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Collections-cmm.819.mcz

marcel.taeumel
Hi, there.

This changes

'Hello, World!' name 

from a string with quotes to a string without quotes because it changes from "printString" to "self". Might work. :-)

Best,
Marcel


Am 27.01.2019 23:48:14 schrieb [hidden email] <[hidden email]>:

Chris Muller uploaded a new version of Collections to project The Inbox:
http://source.squeak.org/inbox/Collections-cmm.819.mcz

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

Name: Collections-cmm.819
Author: cmm
Time: 27 January 2019, 4:48:02.281136 pm
UUID: f625e4bd-47ec-4e68-b9a4-5add60915489
Ancestors: Collections-pre.818

Let Strings have the same #name as the object they name, sans Smalltalk syntax. Allows the #name of either to be used as a lookup key.

=============== Diff against Collections-pre.818 ===============

Item was added:
+ ----- Method: String>>name (in category 'accessing') -----
+ name
+ ^ self!