[gambit-list] define-type and "type-id" access
Joel Reymont
joelr at well.com
Mon Dec 6 19:09:07 EST 2004
Folks,
I define a type like this:
(define-type person
id: 83C73CCE-46D5-11D9-9982-00039301BA52
name
birthdate
)
I'm looking to have a case statement where I evaluate the passed object
and take actions depending on its id. I would need to compare object.id
to type.id, though. What statement will give me the object.id and the type.id?
I tried browsing through _nonstd.scm but could not figure out everything
that the define-type macro defines. Is there a way to see all the
constructors, getters, setters, etc. that a macro would define?
Thanks, Joel
--
OpenPoker: The Linux of poker software
http://wagerlabs.com/forums
More information about the Gambit-list
mailing list