module Char: BatChar
val code : char -> int
val chr : int -> char
Invalid_argument
if the argument is
outside the range 0--255.val escaped : char -> string
val lowercase : char -> char
val uppercase : char -> char
typet =
char
val is_whitespace : char -> bool
' '
, '\010'
, '\013'
, '\009'
, '\026'
and '\012'
.val is_uppercase : char -> bool
'A'
and 'Z'
val is_lowercase : char -> bool
'a'
and 'z'
val is_uppercase_latin1 : char -> bool
'A'
and 'Z'
, between 'À'
and 'Ö'
or
between 'Ø'
and 'Ý'
val is_lowercase_latin1 : char -> bool
'a'
and 'z'
, between 'Þ'
and 'ö'
or
between 'ø'
and 'ÿ'
val is_latin1 : char -> bool
val is_digit : char -> bool
'0'
,
'1'
, ... '9'
.val is_symbol : char -> bool
'!'
, '%'
, '&'
, '$'
, '#'
, '+'
,
'-'
, '/'
, ':'
, '<'
, '='
'>'
, '?'
, '@'
, '\\'
,
'~'
, '^'
, '|'
, '*'
val is_letter : char -> bool
val is_newline : char -> bool
'\010'
and '\013'
val of_digit : int -> char
Invalid_argument
if the
argument is outside the range 0--9val enum : unit -> char BatEnum.t
val range : ?until:char -> char -> char BatEnum.t
range from ?until
produces an enumeration of the
characters from from
to until
included
until
defaults to '\255'
val (--) : char -> char -> char BatEnum.t
'a' -- 'z'
is the enumeration of all characters
between 'a'
and 'z'
included.
module Infix:sig
..end
val print : 'a BatInnerIO.output -> Char.t -> unit
val compare : t -> t -> int
Pervasives.compare
. Along with the type t
, this function compare
allows the module Char
to be passed as argument to the functors
Set.Make
and Map.Make
.val equal : t -> t -> bool
val hash : t -> int
val ord : char BatOrd.ord
module Incubator:sig
..end