You are looking at historical revision 25168 of this page. It may differ significantly from its current revision.
The extension consists of a single library, srfi-99, that provides a number of public modules.
A convenience module that re-exports the bindings from all the other modules so that
works as expected.
A convenience module that re-exports the bindings from all the other srfi-99-records-... modules.
The procedural interface to record type descriptors.[procedure] (make-rtd NAME FIELDS [[#:parent] PARENT #f] [#:uid UID (gensym NAME)] [#:sealed SEALED? #f] [#:opaque OPAQUE? #f] [#:property RTP VALUE] ...)
Create a new record type descriptor.[procedure] (rtd? V)
Test whether V is a record type descriptor.[procedure] (rtd-constructor RTD [FIELDS])
Obtain a constructor procedure for records of the type described by RTD, optionally restricting the FIELDS to be initialized.[procedure] (rtd-predicate RTD)
Obtain a predicate procedure for records of the type described by RTD.[procedure] (rtd-accessor RTD NAME)
Obtain an accessor procedure for the field called NAME in records of the type described by RTD. If the field is mutable, the accessor procedure has an attached SRFI-17 setter.[procedure] (rtd-mutator RTD NAME)
Obtain a mutator procedure for the mutable field called NAME in records of the type described by RTD.
Access to reflective information about records.[procedure] (record? V)
Test whether V is some kind of record.[procedure] (record-rtd V)
Obtain the record type descriptor corresponding to V's type or return #f if V is not an instance of a transparent record type.[procedure] (rtd-name RTD)
Determine the descriptive name of a record type.[procedure] (rtd-uid RTD)
Determine the unique identifier used to tag instances of a record type.[procedure] (rtd-sealed? RTD)
Test whether a record type is sealed and cannot have subtypes.[procedure] (rtd-opaque? RTD)
Test whether a record type is opaque and cannot be extracted from instances using record-rtd.[procedure] (rtd-parent RTD)
Determine the parent type descriptor of RTD.[procedure] (rtd-field-names RTD)
Compute a vector of fields defined directly by RTD.[procedure] (rtd-all-field-names RTD)
Compute a vector of fields defined by RTD or its supertypes.[procedure] (rtd-field-mutable? RTD NAME)
Test whether the field called NAME in records of type RTD is mutable.[procedure] (make-rtp [DEFAULT #f])
Create a new record property accessor.
Syntactic sugar to facilitate the definition of record types.
Syntactic sugar to facilitate the definition of variant types.
Copyright (C) 2011 Thomas Chust <email@example.com>. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the Software), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED ASIS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.