Re: Generics vs. Message passing: object namespaces
"Michael Walter" <[email protected]> Fri, 23 Feb 2007 22:52:40 +0100
| Newsgroups | gmane.comp.lang.lightweight |
|---|---|
| Message-ID | <[email protected]> |
On 2/23/07, Matt Knox <[email protected]> wrote: > It shouldn't be hard to make the package system create a dispatch function > when it detected function name collisions. Then, as long as the argument > types encode enough information to decide which method to call, you're fine. Right, this is pretty much what happens when you use defmethod and load different source files. So we're really talking about module system deficiencies here, I suppose. Regards, Michael