Re: About record-type

RT Happe <[email protected]> Sat, 5 Nov 2005 10:08:29 +0100
Newsgroups gmane.lisp.scheme.scsh
Message-ID <[email protected]>
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