All Manuals > LispWorks User Guide and Reference Manual > 40 The LISPWORKS Package

NextPrevUpTopContentsIndex

choose-unicode-string-hash-function

Function
Summary

Returns a hash function suitable for strings, ignoring case using specified Unicode rules.

Package

lispworks

Signature

choose-unicode-string-hash-function &key style => hash-function

Arguments

style

A keyword

Values

hash-function

A hash function

Description

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.

See also

make-hash-table
unicode-string-equal


LispWorks User Guide and Reference Manual - 13 Feb 2015

NextPrevUpTopContentsIndex