[Pkg] The Trunk: System-ar.285.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Mar 10 00:48:56 UTC 2010

Andreas Raab uploaded a new version of System to project The Trunk:

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

Name: System-ar.285
Author: ar
Time: 9 March 2010, 4:47:35.265 pm
UUID: 5ca1f4b5-80c7-a742-aacc-429ac9311c20
Ancestors: System-ar.284

Add SystemDictionary>>at:ifAbsentPut: as member of the at:[put:|ifAbsent:|ifPresent:] family of supported methods for accessing globals. Used (for example) by Tweak.

=============== Diff against System-ar.284 ===============

Item was added:
+ ----- Method: SmalltalkImage>>at:ifAbsentPut: (in category 'accessing') -----
+ at: aKey ifAbsentPut: aBlock 
+ 	"Return the global at the given key. 
+ 	If key is not included in the receiver store the result 
+ 	of evaluating aBlock as new value."
+ 	^globals at: aKey ifAbsentPut: aBlock!

More information about the Packages mailing list