[Python-Dev] type categories

Andrew Koenig ark@research.att.com
14 Aug 2002 20:50:02 -0400

Greg> Would all the versions of f have to be written together like
Greg> that?

I'm not sure.  In ML, they do, but in ML, the tests are on
values, not types (ML has neither inheritance nor overloading).
Obviously, it would be nice not to have to write the versions
of f together, but I haven't thought about how such a feature
would be defined or implemented.

Greg> I think when most people talk of multiple
Greg> dispatch they have something more flexible in mind.

Probably true.

Andrew Koenig, ark@research.att.com, http://www.research.att.com/info/ark