bug#41354: equal? has no sensible code path for symbols

2020-05-28 Thread David Kastrup
Ludovic Courtès writes: > David Kastrup skribis: > >> Ludovic Courtès writes: >> >>> Hi David, >>> >>> David Kastrup skribis: >> >> Symbols comparing as _unequal_ have no special path in equal?. > > I was going to say that this is necessary for uninterned symbols, but it > turns out that

bug#41354: equal? has no sensible code path for symbols

2020-05-28 Thread Ludovic Courtès
Hi, David Kastrup skribis: > Ludovic Courtès writes: > >> Hi David, >> >> David Kastrup skribis: >> >>> In Scheme, symbols can be compared using eq? for equality. However, >>> since they have garbage-collected content attached, they do not meet the >>> predicate SCM_IMP in the short-circuit