Module Unprime_char.Char

include module type of Stdlib.Char
val code : char -> int
val chr : int -> char
val escaped : char -> string
val lowercase : char -> char
val uppercase : char -> char
val lowercase_ascii : char -> char
val uppercase_ascii : char -> char
type t = char
val compare : t -> t -> int
val equal : t -> t -> bool
val unsafe_chr : int -> char
include module type of Prime_char
val is_ascii : char -> bool

Maps a character to true iff its code is in the interval [0, 127].

val is_ascii_graph : char -> bool

True on characters normally rendered as non-blank glyphs; that is all non-space printable characters.

val is_ascii_cntrl : char -> bool

True for control characters in the ASCII range.

val is_ascii_space : char -> bool

Maps space, tab, NL, CR, VT, FF to true, everything else to false.

val is_ascii_digit : char -> bool

True on latin digits '0' to '9', false elsewhere.

val is_xdigit : char -> bool

True on hexadecimal digits, false elsewhere.

val is_ascii_lower : char -> bool

True on ASCII lower-case letters 'a' to 'z', false elsewhere.

val is_ascii_upper : char -> bool

True on ASCII upper-case letters 'A' to 'Z', false elsewhere.

val is_ascii_alpha : char -> bool

True on ASCII letters, false elsewhere.

val is_ascii_alnum : char -> bool

True on ASCII letters and digits, false elsewhere.

val is_ascii_punct : char -> bool

True on non-alphanumeric ASCII graphic characters, false elsewhere.

val is_graph : char -> bool
val is_space : char -> bool
val is_digit : char -> bool
val is_lower : char -> bool
val is_upper : char -> bool
val is_alpha : char -> bool
val is_alnum : char -> bool
val is_punct : char -> bool