Re: [CLOS] Ensuring a method exists
- From: Jack Unrue <no.spam@xxxxxxxxxxx>
- Date: Wed, 27 Sep 2006 15:41:41 GMT
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
.
- Follow-Ups:
- Re: [CLOS] Ensuring a method exists
- From: Pascal Costanza
- Re: [CLOS] Ensuring a method exists
- References:
- [CLOS] Ensuring a method exists
- From: Didier Verna
- [CLOS] Ensuring a method exists
- Prev by Date: Re: Experience with both LispWorks and OpenMCL ObjC bindings?
- Next by Date: All paths through a tree
- Previous by thread: Re: [CLOS] Ensuring a method exists
- Next by thread: Re: [CLOS] Ensuring a method exists
- Index(es):