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

Stefan Monnier <[email protected]>
Newsgroups gmane.emacs.devel
Message-ID <[email protected]>
> Stefan, what do you think of this?

Nothing specific.  For the record, if I were to define `equal` today,
I'd make hash-tables compare structurally, both because that's what
Common Lisp does, and because my rule of thumb is that if it can be
printed `read`ably it should usually be compared structurally.

[ And of course, the order in which the keys were inserted should not
  influence the comparison.  ]

As I said earlier, the issue for me is backward compatibility.
[ As well as the desire to find a more general solution where the
  caller can specify what is compared structurally and what isn't.  ]


=== Stefan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.