[r6rs-discuss] About record types

From: Stanislav Ievlev <inger>
Date: Fri Sep 22 05:50:21 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.
Received on Fri Sep 22 2006 - 05:50:15 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC