[r6rs-discuss] About record types

Stanislav Ievlev inger at altlinux.org
Fri Sep 22 05:50:15 EDT 2006


Let's discuss records:

The record type descriptor constructor with 6 parameters is an overkill.
A minimum one parameter "opaque?" may be moved out it.

We can move this flag to the fields, e.g.:
((immutable a) (mutable b #t) ...)

from R6RS:
"Thus opasity as presented here can be used to enforce abstraction barriers."


Having an individal opaque fields adds flexibility and will simplify the
constructor.


--
Wit best regards
Stanislav Ievlev.




More information about the r6rs-discuss mailing list