hash-set icon indicating copy to clipboard operation
hash-set copied to clipboard

Other test functions

Open digikar99 opened this issue 5 years ago • 2 comments

Are there reasons to use equal as the test function, rather than providing the user with a choice?

digikar99 avatar Dec 26 '19 18:12 digikar99

Hi @digikar99, Ideally, how would you like the interface to be?

samebchase avatar Dec 27 '19 09:12 samebchase

I think make-hash-set should take an optional or keyword arg (defaulted to equal) specifying the test function. (This should also require an additional helper function hash-set-test analogous to hash-table-test.)

digikar99 avatar Dec 27 '19 10:12 digikar99