External representation: #[...] vs #r(...)
Marc Nieper-WiÃkirchen 15 Nov 2022 08:40 UTC
Time for some bikeshedding!
The current draft proposes to use
#[uid field ...]
for the lexical syntax of (non-opaque) records, a syntax that can be
found in Chez Scheme. for example.
On the other hand, given the existing notations for bytevectors,
#vu8(...) and #u8(...), the lexical syntax
#r(uid field ...)
may make more sense for records. (As Scheme has Records and not
Structs, I am using an R, not an S, here.)
The latter syntax has the advantage that it does not rely on a
difference between parentheses and brackets (which are, otherwise,
equivalent, at least in R6RS).
Thoughts? Comments?