Next: , Previous: , Up: srfi records   [Index]


2.6.3 Rationale

Many Scheme implementations provide means for creating new types, usually called either records or structures. The DEFINE-RECORD-TYPE syntax described here is a slight simplification of one written for Scheme 48 by Jonathan Rees. Unlike many record–defining macros or special forms, it does not create any new identifiers. Instead, the names of the record type, predicate, constructor, and so on are all listed explicitly in the source. This has the following advantages: