bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#63671: Add function to test equality of hash tables


From: Mattias Engdegård
Subject: bug#63671: Add function to test equality of hash tables
Date: Wed, 24 May 2023 22:34:11 +0200

24 maj 2023 kl. 19.27 skrev Joseph Turner <joseph@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.

Attachment: hash-table-equal-p.diff
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]