[r6rs-discuss] Record Types

Brian Jaress brian_jaress at gna.org
Tue Aug 7 01:51:21 EDT 2007


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




More information about the r6rs-discuss mailing list