From: Anders Vinjar <andersvi@notam02.no>
Subject: goops: union for class-slots
Date: 10 Jul 2003 08:58:33 +0200 [thread overview]
Message-ID: <m1znjmc1gm.fsf@localhost.localdomain> (raw)
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
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user
reply other threads:[~2003-07-10 6:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m1znjmc1gm.fsf@localhost.localdomain \
--to=andersvi@notam02.no \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).