Hello --

On Fri, 25 Oct 2002, Rudi Cilibrasi wrote:

> I am wondering if there is a good reason why Ruby does not by default
> support, for instance,
> true <=> false  (should be +1 or -1)
> or even
> false <=> false (should be 0)

I guess one reason is that it's not clear (to me, anyway) why true
would be > false, or false > true.  Is there ordinality to Boolean
values?

> I have been surprised at having to make my own versions of these
> functions for use in an Array of boolean values.  Some people suggest

Don't be surprised -- that's half the fun of Ruby! :-)


David

-- 
David Alan Black
home: dblack / candle.superlink.net
work: blackdav / shu.edu
Web:  http://pirate.shu.edu/~blackdav