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