[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Clarify mutability of all define-record-type <field spec>
- To: srfi-99@xxxxxxxxxxxxxxxxx
- Subject: Clarify mutability of all define-record-type <field spec>
- From: Derick Eddington <derick.eddington@xxxxxxxxx>
- Date: Sun, 10 Aug 2008 23:00:12 -0700
- Delivered-to: srfi-99@xxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=KNziEvW0XAn30tyHXpa0ISJNPqIyNgRZBp5BgWZo6fU=; b=lBTaG8FtQonVlsimyN1EYCtJa95HtRHliuskAzDHWo6R7LsWZz+6aQTKI2xm3EWTOt 6otFhVGqNbyjoc0SIw32HdVxRjlyURTdz61o6/HnCBShVg+LlbnkI/PjkrawEiS8Xo/C z21nqjRzUGMyOoFN1Wg5Hk3u/M7nQuNfQ9bOI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=P4DX2htJKW2kQnxKE0R3spDkkC/7VCfYm+7G4hYZ3MGjV5Qe9XER/2r5CqA0rLdLbc MNoJl5sBOT+/uCZQMzzrT93xXYv+bLhqg0uNjvp+sx7wpfUBdlI4ewtkDlkZVD2vUBLC SGfKXOBYrLf6sNMgQQpxOPWAVm1HaPpCvKuF0=
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
----------------------------------------------------------------