package js_of_ocaml
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=0e886e10b273a8c48d9f453d5c4b8769ca1f3eba5ee950e0b1885adc943f4a53
sha512=1a55c5e2ba24a31dc51179e1b797e227c810c54c1e5a39ba1a35cdbfecd5119a91febcfc269524d9c64afebb6bb84c5485a01cd1b96387e2ac06563358e91560
doc/js_of_ocaml.deriving/Deriving_Json_import/Char/index.html
Module Deriving_Json_import.Char
Source
include module type of struct include Char end
Return the ASCII code of the argument.
Return the character with the given ASCII code.
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 US-ASCII character set.
Convert the given character to its equivalent uppercase character, using the US-ASCII character set.
An alias for the type of characters.
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
.
A seeded hash function for characters, with the same output value as Hashtbl.seeded_hash
. This function allows this module to be passed as argument to the functor Hashtbl.MakeSeeded
.
An unseeded hash function for characters, with the same output value as Hashtbl.hash
. This function allows this module to be passed as argument to the functor Hashtbl.Make
.