Re: [CLOS] Ensuring a method exists



On Wed, 27 Sep 2006 09:40:18 +0200, Didier Verna <didier@xxxxxxxxxxxxx> wrote:

I'd like to ensure that if somebody writes a derived class:

(defclass derived (base) ...)

she also provides a method for this class:

(defmethod foo ((a derived) (b derived)) ...)

Perhaps this constraint should be checked via a wrapper for
calling foo and use that where foo would normally be called
directly? Or use some aspect-oriented approach (maybe AspectL)?

--
Jack Unrue
.