Isn't bool __invert__ behaviour "strange"?

MonkeeSage MonkeeSage at gmail.com
Sat Sep 23 08:24:31 EDT 2006


Lawrence D'Oliveiro wrote:
> In message <1158959361.458232.278660 at h48g2000cwc.googlegroups.com>,
> MonkeeSage wrote:
>
> > I don't really see anything wrong with creating a custom class for
> > evaluating those kinds of logical statements. It does make the code for
> > statements more concise and easy to follow (with less binding
> > ambiguity).
>
> Why not express everything in Conjunctive Normal Form?

Because: (¬Can add all the literal operators ∧ Already existed a
concise/unambiguous mechanism for all but negation) ├ Used existing
scheme but added concise/unambiguous negation mechanism.

Regards,
Jordan




More information about the Python-list mailing list