[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Clarify mutability of all define-record-type <field spec>

This page is part of the web mail archives of SRFI 99 from before July 7th, 2015. The new archives for SRFI 99 contain all messages, not just those from before July 7th, 2015.

The description of define-record-type does not explicitly make clear the
mutability of the last two <field spec>

              -> (<field name> <accessor name>)
              -> (<field name> <accessor name> <mutator name>)

The description defers to SRFI-9 for these but SRFI-9 does not mention
their mutability.  Like the first two <field spec> introduced by this
SRFI, the mutability should be clearly stated, to make clear that
mutator procedures cannot manually (via rtd-mutator) be got for
immutable fields.

: Derick