j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Nicolas Cellier uploaded a new version of Kernel to project The Trunk: http://source.squeak.org/trunk/Kernel-nice.615.mcz
==================== Summary ====================
Name: Kernel-nice.615 Author: nice Time: 7 September 2011, 9:54:15.365 pm UUID: 4e49e25c-85dc-444c-bdd5-5e4bb9d05b6e Ancestors: Kernel-nice.614
Integer shall understand #numerator and #denominator to be polymorphic to Fraction. Integer shall be polymorphic to Fraction because Fraction with denominator = 1 don't preserve their class across arithmetic operations.
=============== Diff against Kernel-nice.614 ===============
Item was added: + ----- Method: Integer>>denominator (in category 'accessing') ----- + denominator + "Let an Integer be polymorphic to a Fraction. See #isFraction." + ^1!
Item was added: + ----- Method: Integer>>numerator (in category 'accessing') ----- + numerator + "Let an Integer be polymorphic to a Fraction. See #isFraction." + ^self!
squeak-dev@lists.squeakfoundation.org