Re: [CLOS] Ensuring a method exists
- From: Lars Rune Nøstdal <larsnostdal@xxxxxxxxx>
- Date: Wed, 27 Sep 2006 15:04:59 +0200
On Wed, 27 Sep 2006 14:11:54 +0200, Didier Verna wrote:
Lars Rune Nøstdal <larsnostdal@xxxxxxxxx> wrote:
Hm, ok - maybe something like this:
(dolist (class (sb-mop:class-direct-subclasses (find-class class)))
Yup, that's the kind of thing I was looking for, thanks. Actually,
I'll use class-direct-SUPERclasses to go up the hierarchy, and also filter out
(find-class 'standard-object) from the check list. But that's the idea.
When moving upwards while only looking upwards you'll miss the branches
passing along "beside" you as you head for the top .. I think you'll
figure this stuff out however .. :)
--
Lars Rune Nøstdal
http://lars.nostdal.org/
.
- Follow-Ups:
- Re: [CLOS] Ensuring a method exists
- From: Didier Verna
- Re: [CLOS] Ensuring a method exists
- References:
- [CLOS] Ensuring a method exists
- From: Didier Verna
- Re: [CLOS] Ensuring a method exists
- From: Lars Rune Nøstdal
- Re: [CLOS] Ensuring a method exists
- From: Didier Verna
- Re: [CLOS] Ensuring a method exists
- From: Lars Rune Nøstdal
- Re: [CLOS] Ensuring a method exists
- From: Didier Verna
- [CLOS] Ensuring a method exists
- Prev by Date: Re: [CLOS] Ensuring a method exists
- Next by Date: Re: [CLOS] Ensuring a method exists
- Previous by thread: Re: [CLOS] Ensuring a method exists
- Next by thread: Re: [CLOS] Ensuring a method exists
- Index(es):
Relevant Pages
|
|