Library
Module
Module type
Parameter
Class
Class type
Characters.
val min : uchar
min
is U+0000.
val max : uchar
max
is U+10FFFF.
is_uchar n
is true
iff n
is an Unicode scalar value.
val of_int : int -> uchar
of_int i
is i
as an uchar.
val to_int : uchar -> int
to_int u
is the scalar value of u
as an integer.
val fold : ('a -> uchar -> 'a) -> 'a -> 'a
fold f acc
is (f (…(f (f (…(f (f acc 0x0000) 0x0001…) 0xD7FF) 0xE000)…) 0x10FFFF)
val iter : (uchar -> unit) -> unit
iter f
is f 0x0000; f0x0001; …; f 0xD7FF; f 0xE000; …; f 0x10FFFF
val pp : Format.formatter -> uchar -> unit
pp ppf u
prints u
on ppf
using only US-ASCII encoded characters according to the Unicode notational convention.