[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
goops: union for class-slots
From: |
Anders Vinjar |
Subject: |
goops: union for class-slots |
Date: |
10 Jul 2003 08:58:33 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter) |
In goops.scm theres a method 'class-slots which can be defined
for a new meta-class. So a quick question: does anyone already
have a method on 'class-slots which returns the union of the
various slot-definitions for a class?
what i'd like:
(define-class <super> ()
(name #:init-keyword #:name #:init-form 'joe #:getter sname))
(define-class <sub> (<super>)
(name #:accessor sname))
and have
(make <sub>)
return an object with 'name initialized to 'joe.
-anders
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- goops: union for class-slots,
Anders Vinjar <=