[squeak-dev] The Trunk: Kernel-nice.269.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Oct 14 21:12:18 UTC 2009


Nicolas Cellier uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-nice.269.mcz

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

Name: Kernel-nice.269
Author: nice
Time: 14 October 2009, 11:11:06 am
UUID: 4df9fa19-cf20-4723-9f11-aefc85fe3c51
Ancestors: Kernel-ar.268

The so-called Eliot solution to the xor: problem

=============== Diff against Kernel-ar.268 ===============

Item was added:
+ ----- Method: True>>xor: (in category 'logical operations') -----
+ xor: aBoolean
+ 	"Posted by Eliot Miranda to squeak-dev on 3/24/2009"
+ 	
+ 	^aBoolean not!

Item was added:
+ ----- Method: False>>xor: (in category 'logical operations') -----
+ xor: aBoolean
+ 	"Posted by Eliot Miranda to squeak-dev on 3/24/2009"
+ 
+ 	^aBoolean!

Item was removed:
- ----- Method: Boolean>>xor: (in category 'logical operations') -----
- xor: aBoolean 
- 	"Exclusive OR. Answer true if the receiver is not equivalent to aBoolean."
- 
- 	^(self == aBoolean) not!




More information about the Squeak-dev mailing list