bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] GOOPS MOP no-method doesn't work


From: Mikael Djurfeldt
Subject: Re: [PATCH] GOOPS MOP no-method doesn't work
Date: Thu, 19 Feb 2004 16:48:34 -0500
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Andreas Rottmann <address@hidden> writes:

> I noticed that besides that <generic> specialization does not work
> (see [0], this is apparently related to bugs/goops-apply-generic), the
> no-method generic isn't invoked, because the C-based protocol does not
> use it at all. Here is an example:

Thanks for your patch.  However, I think we should deprecate no-method
rather than put it in the MOP.  It doesn't seem particularly useful to
have a function which is called only if you try to invoke a generic
which totally lacks methods.  I mean---it's such an exotic case.

It would be much more useful to have a function which is invoked
whenever there aren't any applicable methods for a generic.  This is
also the choice made in CLOS.

M





reply via email to

[Prev in Thread] Current Thread [Next in Thread]