Module CCChar

module CCChar: sig .. end

Utils around char


Since 0.14

include Char
val equal : t -> t -> bool
val compare : t -> t -> int
val lowercase_ascii : t -> t
See Char
Since 0.20
val uppercase_ascii : t -> t
See Char
Since 0.20
val of_int_exn : int -> t
Alias to Char.chr
Since 1.0
Raises Invalid_argument if the int is not within 0,...,255
val of_int : int -> t option
Safe version of CCChar.of_int
Since 1.0
val to_int : t -> int
Alias to Char.code
Since 1.0
val pp : Buffer.t -> t -> unit
val print : Format.formatter -> t -> unit