Re: [PATCH] Implement `equal' for hash tables

Sean Whitton <[email protected]> Wed, 05 Aug 2026 10:36:33 +0100
Newsgroups gmane.emacs.devel
Message-ID <[email protected]>
Nick Alcock [04/Aug  9:16pm +01] wrote:
> Hash tables are equal if they have equal atoms, weakness, and equality
> and hash functions.
>
> (This also means that equal of structures which contain hash tables is
> useful now, too, which is really the reason I implemented this: right
> now, hash tables are a sort of poison pill which render any object into
> which they are inserted unequal with all others.  No more.)

Is it useful in a programming language for hash table objects to be
directly comparable like this?  I'm not sure that it is.

Adding Stefan for comment.

-- 
Sean Whitton