[ENH] OCAtIfAbsentPut

marcus at ira.uka.de marcus at ira.uka.de
Sat Nov 15 13:10:03 UTC 2003


from preamble:

"Change Set:		OCAtIfAbsentPut
Date:			14 November 2003
Author:			Marcus Denker

This changeset adds at:ifAbsentPut: to OrderedCollection

The comment:

Return value at index, however, if value does not exist (nil or out of
bounds) then add block's value at index (growing self if necessary)

This is used by the ClosureCompiler (IRBuilder)
"!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OCAtIfAbsentPut.cs.gz
Type: application/octet-stream
Size: 482 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20031115/b547c917/OCAtIfAbsentPut.cs.obj


More information about the Squeak-dev mailing list