[Pkg] The Trunk: Collections-nice.173.mcz
commits at source.squeak.org
commits at source.squeak.org
Fri Oct 30 19:42:56 UTC 2009
Nicolas Cellier uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-nice.173.mcz
==================== Summary ====================
Name: Collections-nice.173
Author: nice
Time: 30 October 2009, 8:42:27 am
UUID: 78f5d352-d818-4437-998e-c60239e5e305
Ancestors: Collections-ar.172
Correct some #isSelfEvaluating implementations that were a bit relax.
Anyway, the implementation is still weak:
Try ((0 at 1 extent: 1 at 1) -> 0) isSelfEvaluating
Then try to evaluate ((0 at 1 extent: 1 at 1) -> 0) printString
=============== Diff against Collections-ar.172 ===============
Item was changed:
----- Method: RunArray>>isSelfEvaluating (in category 'self evaluating') -----
isSelfEvaluating
+ ^ self class == RunArray and: [values isSelfEvaluating]!
- ^ self class == RunArray!
Item was changed:
----- Method: Association>>isSelfEvaluating (in category 'self evaluating') -----
isSelfEvaluating
+ ^ self class == Association and: [self key isSelfEvaluating and: [self value isSelfEvaluating]]!
- ^ self class == Association!
More information about the Packages
mailing list