Returns a hash function suitable for strings, ignoring case using specified Unicode rules.
lispworks
choose-unicode-string-hash-function &key style => hash-function
style⇩ |
A keyword. |
hash-function⇩ |
A hash function. |
The function choose-unicode-string-hash-function
return a function which is suitable for use as the hash-function argument to make-hash-table. The function hash-function generates a hash value for a string, ignoring case using specified Unicode comparison rules specified by style.
The current implementation only supports one value of style:
:simple-case-fold | Compares each character of the string using the simple case folding rules in Unicode 6.3.0. |
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:41