SRFI 237: R6RS Records (refined)

by Marc Nieper-Wißkirchen

status: final (2023-05-02)

keywords: Data Structure

See also SRFI 9: Defining Record Types, SRFI 57: Records, SRFI 76: R6RS Records, SRFI 99: ERR5RS Records, SRFI 131: ERR5RS Record Syntax (reduced), SRFI 136: Extensible record types, SRFI 150: Hygienic ERR5RS Record Syntax (reduced), SRFI 240: Reconciled Records, and SRFI 256: Minimal extension to SRFI 9/R7RS small record type definitions for inheritance.

Abstract

The record mechanism of R6RS is refined. In particular, the triad of record names, record-type descriptors and record constructor descriptors can be effectively ignored and replaced with the single notion of a record descriptor. We also remove the restriction that the syntactic layer can only define one constructor per record type defined.