package camlrack

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type sexp =
  1. | Integer of int
  2. | Float of float
  3. | String of string
  4. | Symbol of string
  5. | SExp of sexp list
val render_string_of_sexp : sexp -> string
val repr_string_of_sexp : sexp -> string
val sexp_not_err : string -> sexp -> 'a
val sexp_to_list_opt : sexp -> sexp list option
val sexp_to_list : sexp -> sexp list
val list_to_sexp : sexp list -> sexp
val sexp_to_int_opt : sexp -> int option
val sexp_to_int : sexp -> int
val int_to_sexp : int -> sexp
val sexp_to_float_opt : sexp -> float option
val sexp_to_float : sexp -> float
val float_to_sexp : float -> sexp
val sexp_to_string_opt : sexp -> string option
val sexp_to_string : sexp -> string
val string_to_sexp : string -> sexp
val sexp_to_symbol_opt : sexp -> string option
val sexp_to_symbol : sexp -> string
val symbol_to_sexp : string -> sexp
val push : 'a list ref -> 'a -> unit
val pop : 'a list ref -> 'a
val matching_braces : (Tokenize.token * Tokenize.token) list
val braces_match : Tokenize.token -> Tokenize.token -> bool
val string_of_sexp_list : sexp list -> string
val string_of_sexp_list_list : sexp list list -> string
type parse_error =
  1. | EmptySExpression
  2. | MultipleSExpressions
  3. | UnterminatedSExpression of string
  4. | UnexpectedClosingBrace of string
  5. | MismatchedBraces of string * string
val render_error : parse_error -> string
val parse_tokens_to_many : Tokenize.token list -> (sexp list, parse_error) result
val parse_tokens_to_one : Tokenize.token list -> (sexp, parse_error) result
val parse : string -> (sexp, parse_error) result
val parse_exn : string -> sexp
val parse_opt : string -> sexp option
val parse_many : string -> (sexp list, parse_error) result
val parse_many_exn : string -> sexp list
val parse_many_opt : string -> sexp list option
OCaml

Innovation. Community. Security.