From: "Vítor De Araújo" <vbuaraujo@sapo.pt>
To: guile-user@gnu.org
Subject: Standard way of getting a record's class?
Date: Sun, 18 Jun 2017 22:34:42 -0300 [thread overview]
Message-ID: <59472A32.6030909@sapo.pt> (raw)
Hello,
In Guile 2.0, when you defined a record type foo, and you had (oop
goops) loaded, a class <foo> was automatically created. That doesn't
seem to be the case anymore in Guile 2.2.
Is there a standard way in Guile to get a record type's associated
class? So far the solution I found is to construct an instance of the
record and call 'class-of' on it, but I wonder if there is a cleaner way
to do it.
Thanks!
--
Vítor De Araújo
https://elmord.org/
reply other threads:[~2017-06-19 1:34 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=59472A32.6030909@sapo.pt \
--to=vbuaraujo@sapo.pt \
--cc=guile-user@gnu.org \
/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).