Re: Generics vs. Message passing: object namespaces
Pascal Costanza <[email protected]> Sat, 24 Feb 2007 01:29:29 +0100
| Newsgroups | gmane.comp.lang.lightweight |
|---|---|
| Message-ID | <[email protected]> |
On 23 Feb 2007, at 17:05, Randall Randall wrote: > So, while normal functions have to be disambiguated with > a package qualifier or explicitly renamed, generic functions > which have methods whose signatures don't conflict are > easily thought of as a single conceptual generic function, > and should be combined in using packages by default. In > my opinion. :) I don't want to let this deteriorate into a discussion about the CL package system, so I will try to keep the response simple: The CL package system doesn't organize generic functions (or classes or functions or variables or whatever). It only organizes names. So what you seem to want doesn't seem possible to me. I would expect the Dylan module system to be closer to what you want, but I don't know the details here. Pascal -- Pascal Costanza, mailto:[email protected], http://p-cos.net Vrije Universiteit Brussel, Programming Technology Lab Pleinlaan 2, B-1050 Brussel, Belgium