Coding exceptions with patter-matching

Sean 'Shaleh' Perry shalehperry at
Sat Oct 27 20:43:56 CEST 2001

> Now I've found a problem dealing with exceptions in human languages.
> For example, how to code
> that you have feet instead of foots?

It gets worse (=:

There is no plural form of some nouns in English.  Take fish and fruit for
instance.  I am sure other languages have similar oddities.  I suspect you will
need to have both case by case items and pattern items.

Would it simplify things if you some how split the exception list?

More information about the Python-list mailing list