[m-dev.] multi-language definitions

Holger Krug hkrug at rationalizer.com
Tue Feb 26 02:15:43 AEDT 2002


On Tue, Feb 26, 2002 at 01:57:57AM +1100, Tyson Dowd wrote:
> On 25-Feb-2002, Holger Krug <hkrug at rationalizer.com> wrote:
> > `Genclass_fallback' must not be rewritten, though some of the
> > procedure implementations in `Genclass_fallback' became obsolete.
> 
> Another way to do this is to make Genclass_fallback an (abstract?) base
> class and Genclass_fallback_implementation a derived class that provides
> the implementations.  Then you don't have to worry so much about
> overwriting Genclass_fallback.

This was my proposal about half a year ago, until I realized that it
does not work, because you cannot overload static methods. Look in the
old archives ;-)

-- 
Holger Krug
hkrug at rationalizer.com
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list