[r6rs-discuss] Record Types

From: Michael Sperber <sperber>
Date: Mon, 06 Aug 2007 10:36:28 +0200

Brian Jaress <brian_jaress at gna.org> writes:

> I'm a little late to the discussion -- sorry if this has been covered,
> but:
>
> I'm a bit concerned that the record values don't serve as namespaces for
> their fields or accessors. As I read it, there's no direct way to
> access a field of a record value using the record value and the field
> name, though you may be able to do it using inspection to recover the
> rtd and all the ancestor rtds.
>
> Is this correct?

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
Received on Mon Aug 06 2007 - 04:36:28 UTC

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