GNU bug report logs - #63671
Add function to test equality of hash tables

Previous Next

Package: emacs;

Reported by: Joseph Turner <joseph <at> breatheoutbreathe.in>

Date: Tue, 23 May 2023 19:41:02 UTC

Severity: wishlist

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Joseph Turner <joseph <at> breatheoutbreathe.in>
To: Mattias EngdegÄrd <mattias.engdegard <at> gmail.com>
Cc: yantar92 <at> posteo.net, 63671 <at> debbugs.gnu.org
Subject: bug#63671: Add function to test equality of hash tables
Date: Wed, 24 May 2023 19:44:29 -0700
Mattias EngdegÄrd <mattias.engdegard <at> gmail.com> writes:

> 24 maj 2023 kl. 19.27 skrev Joseph Turner <joseph <at> breatheoutbreathe.in>:
>
>> Would extending `equal' to handle hash tables be generally useful?
>
> It would, but doing so would be very risky at this point since it would change long-standing semantics.
>
> We could make an augmented version of `equal` but what we really want is one that works for user-defined types (see Ihor's reference to a previous discussion).
>
> Anyway, here's an old patch I had lying around, in case we decide that we do need a shoddy equality predicate for hash tables only.

Thank you for the references, Ihor and Mattias! Since this is a
duplicate of Ihor's thread, my report should probably be closed.

How do I close this report?

Joseph




This bug report was last modified 1 year and 256 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.