[r6rs-discuss] Record Types

From: Brian Jaress <brian_jaress>
Date: Mon, 06 Aug 2007 19:51:21 -1000

On Mon, Aug 06, 2007 at 10:36:28AM +0200, Michael Sperber wrote:
>
> Yes. A rationale appears in the rationale document:
>
> http://www.r6rs.org/document/rationale-html-5.97/r6rs-rationale-Z-H-20.html#node_sec_18.2
>
> There was also a fair amount of discussion on the SRFI-76 mailing list,
> if I recall correctly.
>
> --
> Cheers =8-} Mike
> Friede, V?lkerverst?ndigung und ?berhaupt blabla

Thank you, I completely forgot that there was a rationale document. I
had looked over the srfi discussions, but I hadn't read every message.

I very much appreciate the references, but that explanation actually
lowered my opinion of the record system. To me, the primary difference
between vectors and records is that record fields should have distinct
names and purposes.

Failing that, you could have record-ref and record-set! procedures that
can take either symbols or numbers. The result of passing a symbol that
is a non-unique name could be unspecified.

--
Brian Jaress
brian_jaress at gna.org
http://brian-jaress.livejournal.com
Received on Tue Aug 07 2007 - 01:51:21 UTC

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