package dune
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=bfd52160d88578c404af1267abfba6eb4928988e51aef0e92dbebdea1607ae36
md5=1212a36547d25269675d767c38fecf5f
doc/dune._stdune/Stdune/Char/index.html
Module Stdune.Char
module Char = Dune_caml.Char
include sig ... end
include module type of struct include Char end
Return a string representing the given character, with special characters escaped following the lexical conventions of OCaml. All characters outside the ASCII printable range (32..126) are escaped, as well as backslash, double-quote, and single-quote.
Convert the given character to its equivalent lowercase character, using the ISO Latin-1 (8859-1) character set.
Convert the given character to its equivalent uppercase character, using the ISO Latin-1 (8859-1) character set.
Convert the given character to its equivalent lowercase character, using the US-ASCII character set.
Convert the given character to its equivalent uppercase character, using the US-ASCII character set.
The comparison function for characters, with the same specification as Stdlib.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
.