conspack/cl-conspack

hash table test

Opened this issue · 1 comments

It seems that decoded hash tables always have a test of eql, severely limiting the usefulness of storing them.

rpav commented

You can set the :test property of a hash table to EQUAL (see Properties; this should probably be a primary example), and you should get out a hash table with the same test on decode. Note this only supports EQL and EQUAL.

I believe this is not done automatically because there is no standard API for querying the :test of a hash table. But I may be misremembering: if so it would be pretty simple to patch in, if someone wants to send a PR.