[squeak-dev] The Trunk: Kernel-fbs.752.mcz
commits at source.squeak.org
commits at source.squeak.org
Sat Mar 30 22:10:40 UTC 2013
Frank Shearar uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-fbs.752.mcz
==================== Summary ====================
Name: Kernel-fbs.752
Author: fbs
Time: 30 March 2013, 10:09:47.906 pm
UUID: 0724a0a2-6b96-4e07-94ed-79bdc4e2466b
Ancestors: Kernel-eem.751
Increase the "polymorphitude" of numbers by supplying a default implementation of #zero, together with a few per-type specialisations to go with those we already have.
=============== Diff against Kernel-eem.751 ===============
Item was added:
+ ----- Method: Float class>>zero (in category 'constants') -----
+ zero
+ ^ 0.0.!
Item was added:
+ ----- Method: Fraction class>>zero (in category 'constants') -----
+ zero
+ ^ self numerator: 0 denominator: 1.!
Item was added:
+ ----- Method: Number class>>zero (in category 'constants') -----
+ zero
+ ^ 0.!
More information about the Squeak-dev
mailing list
|