unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#38672: Core records and R7RS records
@ 2019-12-19 16:24 Marc Nieper-Wißkirchen
  2019-12-19 17:47 ` John Cowan
  2020-01-12 20:57 ` Andy Wingo
  0 siblings, 2 replies; 4+ messages in thread
From: Marc Nieper-Wißkirchen @ 2019-12-19 16:24 UTC (permalink / raw)
  To: 38672

I've read in the news that the upcoming Guile 3.0 will unify records.

Core records type seem to support the procedure "record-accessor",
which takes a field name as a symbol.

In R7RS (based on SRFI 9), record field names are, however, (hygienic)
identifiers and thus compile-time and not run-time identities. An R7RS
record type can, therefore, not support "record-accessor" and similar
procedures.

How is this going to be solved in Guile 3?

See the Rationale of SRFI 150 why R7RS record types use hygienic
identifiers (and should do so) for field names.

Marc





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-01-12 20:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-19 16:24 bug#38672: Core records and R7RS records Marc Nieper-Wißkirchen
2019-12-19 17:47 ` John Cowan
2019-12-20 12:47   ` Marc Nieper-Wißkirchen
2020-01-12 20:57 ` Andy Wingo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).