SRFI 150: Hygienic ERR5RS Record Syntax (reduced)

by Marc Nieper-Wi├čkirchen

status: final (2018/1/16)

See also SRFI 9: Defining Record Types, SRFI 99: ERR5RS Records, and SRFI 131: ERR5RS Record Syntax (reduced).


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.