The Trunk: Collections-nice.173.mcz

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

The Trunk: Collections-nice.173.mcz

commits-2
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@1 extent: 1@1) -> 0) isSelfEvaluating
Then try to evaluate ((0@1 extent: 1@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!