[r6rs-discuss] Record Types

Michael Sperber sperber at informatik.uni-tuebingen.de
Mon Aug 6 04:36:28 EDT 2007


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



More information about the r6rs-discuss mailing list