This site is a static rendering of the Trac instance that was used by R7RS-WG1 for its work on R7RS-small (PDF), which was ratified in 2013. For more information, see Home. For a version of this page that may be more recent, see TrivialUnicodeModule in WG2's repo for R7RS-large.

Trivial­Unicode­Module

cowan
2010-09-07 04:39:25
1history
source

Since the current votes in WG1 call for a module for Unicode casing and normalization, here's a trivial proposal for that module.

It's a subset of the R6RS (rnrs unicode 6) library, but the semantics of the procedures are supplied by UnicodeCowan.

char-upcase char-downcase char-foldcase char-ci=? char-ci<? char-ci>? char-ci<=? char-ci>= char-alphabetic char-numeric char-whitespace char-upper-case char-lower-case string-upcase string-downcase string-foldcase string-ci=? string-ci<? string-ci>? string-ci<=? string-ci>= string-normalize-nfd string-normalize-nfkd string-normalize-nfc string-normalize-nfkc