Today's Common Lisp Project of the Day is cl-custom-hash-table!
In Common Lisp standard, a hash table can use only these test functions to check keys equality: eq, eql, equal and equalp (https://eli.thegreenplace.net/2004/08/08/equality-in-lisp …).
But you might want to provide custom functions.
#poftheday
-
Show this thread
-
Some implementations support this by providing an extension. cl-custom-hash-table provides a portability layer for defining such custom hash functions. BTW, did you know there is a table of Common Lisp portability layers? https://shinmera.github.io/portability/
2 replies 0 retweets 7 likesShow this thread
Replying to @svetlyak40wt
Nice to see that UIOP is recognized as the single most portable portability layers for Common Lisp.
0 replies
1 retweet
3 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Read my blog!