Legend:
Library
Module
Module type
Parameter
Class
Class type
Unicode character operations.
A Uchar.t represents a Unicode code point -- that is, an integer identifying the character in abstract. This module does not provide any utilties for converting Uchar.ts to and from strings -- in order to do so, one needs to settle on a particular encoding, such as UTF-8 or UTF-16. See, for instance, the utf8_text library for converting to and from UTF-8.
ascending is identical to compare. descending x y = ascending y x. These are intended to be mnemonic when used like List.sort ~compare:ascending and List.sort
~cmp:descending, since they cause the list to be sorted in ascending or descending order, respectively.