package ppxlib
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=2e223837e7cecc3bc84a432432c0a72f4e1d5be9165c9c33772f156db85db0b3
sha512=78c62c6de7a641b950de9b4b744841c8823918c545046693e291077adfcd069a812094c11d8d51f792c0b5f340307d38f452ff0a92520df63ed17a3ca9922e2e
doc/ppxlib.stdppx/Stdppx/Char/index.html
Module Stdppx.CharSource
include module type of struct include Char end
Characters
An alias for the type of characters.
Return the integer code of the argument.
Return the character with the given integer 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 [0x20;0x7E] are escaped, as well as backslash, double-quote, and single-quote.
Predicates and comparisons
See also the Ascii module.
ASCII characters
ASCII character set support.
Use the equivalent Ascii.lowercase instead.
Use the equivalent Ascii.uppercase instead.
Hashing
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.