On this page:
3.1 Module codepoint/  fold
ucd-case-folding
case-fold-common
case-fold-simple
case-fold-full
8.12

3 Case Folding🔗ℹ

Implementation of case-folding based on UCD properties.

3.1 Module codepoint/fold🔗ℹ

 (require codepoint/fold) package: codepoint

procedure

(ucd-case-folding c)  (hash/c symbol? (listof codepoint?))

  c : codepoint?
Return the dictionary of case foldings for the source codepoint. The key to this hash is one of the symbols from *case-folding-status*, and the value is a list of new codepoints.

See *case-folding-status*.

procedure

(case-fold-common c)  (listof codepoint?)

  c : codepoint?
Applies the folding associated with the status 'common.

procedure

(case-fold-simple c)  (listof codepoint?)

  c : codepoint?
Applies the folding associated with the status 'common, followed by the folding associated with the status 'simple.

procedure

(case-fold-full c)  (listof codepoint?)

  c : codepoint?
Applies the folding associated with the status 'common, followed by the folding associated with the status 'full.