Next: rnrs exceptions, Previous: rnrs records procedural, Up: R6RS Standard Libraries [Contents][Index]
The (rnrs records inspection (6))
library provides procedures
useful for accessing metadata about R6RS records.
Return #t
if the specified object is a non-opaque R6RS record,
#f
otherwise.
Returns the record-type descriptor for record. An
&assertion
is raised if record is opaque.
Returns the name of the record-type descriptor rtd.
Returns the parent of the record-type descriptor rtd, or #f
if it has none.
Returns the uid of the record-type descriptor rtd, or #f
if
it has none.
Returns #t
if the record-type descriptor rtd is generative,
#f
otherwise.
Returns #t
if the record-type descriptor rtd is sealed,
#f
otherwise.
Returns #t
if the record-type descriptor rtd is opaque,
#f
otherwise.
Returns a vector of symbols giving the names of the fields defined by the record-type descriptor rtd (and not any of its sub- or supertypes).
Returns #t
if the field at index k of the record-type
descriptor rtd (and not any of its sub- or supertypes) is mutable.