[Python-Dev] Re: PEP 285: Adding a bool type

Gordon McMillan gmcm@hypernet.com
Thu, 4 Apr 2002 10:05:43 -0500


[Guido]

> The textbooks that say that a Boolean value does
> not support arithmetic operations.  In tis
> discussion several people have tried to argue for
> such bools and claimed that that is the textbook
> definition. 

Odd. I recall learning that they support addition
(identity element False; operation spelled "or") 
and multiplication (identity element True;
operation spelled "and").

So maybe the distinction is the word "arithmetic".
Alas, my local library doesn't seem to have a copy
of Frege <wink>.

-- Gordon
http://www.mcmillan-inc.com/