---- On Sun, 29 Aug 2010 07:28:19 -0700 Nicolas Cellier  wrote ---- 

>I'm not comfortable with English, but to me Magnitude is about 
>ordering rather than just comparing. 
>I expect a TOrderable to describe a fully or partially ordered set. 
>If you define this, then it is a fully ordered set: 
><= aMagnitude 
>    ^(self > aMagnitude) not 
> 
>Beware, due to introduction of NaN, Float is not fully ordered, this 
>require overriding above message in Number. 
> 
>Nicolas 

Comparable has parallels in other languages like Java and C#'s Comparable and 
IComparable interfaces. Also, one of its categories is "comparing."


_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to