scsh-users
[Top] [All Lists]

Re: About record-type

To: Gautham Anil <gautham_anil@cse.iitb.ac.in>
Subject: Re: About record-type
From: RT Happe <rthappe@web.de>
Date: Sat, 5 Nov 2005 10:08:29 +0100
Cc: scsh-users@scsh.net
List-id: <scsh-users.list-id.scsh.net>
Sender: rthappe@web.de
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

<Prev in Thread] Current Thread [Next in Thread>