* Standard way of getting a record's class?
@ 2017-06-19 1:34 Vítor De Araújo
0 siblings, 0 replies; only message in thread
From: Vítor De Araújo @ 2017-06-19 1:34 UTC (permalink / raw)
To: guile-user
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/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-06-19 1:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-19 1:34 Standard way of getting a record's class? Vítor De Araújo
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).