Re: rnrs records: shadows previous definition of `dummy-1a78708d3c9406a3'

Ludovic Courtès <[email protected]> Sat, 23 May 2026 19:12:59 +0200
Newsgroups gmane.lisp.guile.user,gmane.lisp.guile.devel
Message-ID <[email protected]>
Olivier Dion <[email protected]> skribis:

> If we can't avoid this, e.g. we want to keep the constant-time behavior,
> then we should at least document that limitation in the manual and
> recommend some alternative to users.

Yeah.  It=E2=80=99s meant to be =E2=80=9Cgood enough=E2=80=9D to select a b=
ucket in a hash
table, nothing more.

> Also, I think that psyntax should maybe do it's own recursive traversal
> of the form for hashing.  That would avoid the issue that Tomas
> mentionned with duplicated top-level identifiers.

Recursive traversal could quickly become terrible though, making macro
expansion even more expensive than it already is.

There=E2=80=99s also the caveat that due to this kind of use cases, =E2=80=
=98hash=E2=80=99 &
co. cannot be changed in a stable series because that=E2=80=99d indirectly =
be an
ABI break.

Ludo=E2=80=99.