SRFI 150: Hygienic ERR5RS Record Syntax (reduced)

by Marc Nieper-Wi├čkirchen

status: final (2018-01-16)

keywords: Data Structure

See also SRFI 9: Defining Record Types, SRFI 99: ERR5RS Records, SRFI 131: ERR5RS Record Syntax (reduced), SRFI 136: Extensible record types, and SRFI 237: Reconciled Records.


This SRFI provides a specification and portable implementation of an extension of the ERR5RS record syntax of SRFI 131, where field names inserted by macro transformers are effectively renamed as if the macro transformer inserted a binding. This makes this SRFI compatible with the semantics of the record-type definitions of the R7RS as intended by its authors. In addition, field names may also be other types of Scheme datums, like numbers and strings, or SRFI 88 keyword objects.