package js_of_ocaml-compiler

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Stdlib.CharSource

include module type of struct include Char end
Sourceval code : char -> int

Return the ASCII code of the argument.

Sourceval chr : int -> char

Return the character with the given ASCII code.

Sourceval escaped : char -> string

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.

Sourcetype t = char

An alias for the type of characters.

Sourceval (<) : char -> char -> bool
Sourceval (<=) : char -> char -> bool
Sourceval (<>) : char -> char -> bool
Sourceval (=) : char -> char -> bool
Sourceval (>) : char -> char -> bool
Sourceval (>=) : char -> char -> bool
Sourceval compare : char -> char -> int
Sourceval equal : char -> char -> bool
Sourceval is_alpha : char -> bool
Sourceval is_num : char -> bool
Sourceval lowercase_ascii : char -> char
Sourceval uppercase_ascii : char -> char
OCaml

Innovation. Community. Security.