All Manuals > LispWorks User Guide and Reference Manual > 34 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 Unicode's simple case folding rules.

See also

make-hash-table
unicode-string-equal


LispWorks User Guide and Reference Manual - 21 Dec 2011

NextPrevUpTopContentsIndex