On Gautham Anil wrote:
this might seem a silly question, but what is the structure in which
record primitives such as record-type are stored in scsh? I tried
",open record" and ",open records". They did not give me the
functions.
There are several kinds of records, but you are probably looking for
the structure RECORDS-INTERNAL. (To find structures that export a
binding, you search the interface definitions --in
scheme\interfaces.scm and other source files-- for the identifier, then
the structure definitions --in scheme\packages.scm and other source
files-- for structures exporting that interface. This may not work as
described due to complications such as compound interfaces, but in this
case the identifier RECORD-TYPE belongs to the
RECORDS-INTERNAL-INTERFACE exported by RECORDS-INTERNAL in
scheme\rts-packages.scm .)
rthappe
|