package ocamlformat-lib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = Sexplib0.Sexp.t =
  1. | Atom of string
  2. | List of t list
val globalize : t -> t
val hash_fold_t : t Base__Ppx_hash_lib.hash_fold
val hash : t -> Base__Ppx_hash_lib.Std.Hash.hash_value
val t_of_sexp : Sexplib0.Sexp.t -> Sexplib0.Sexp.t
val sexp_of_t : Sexplib0.Sexp.t -> Sexplib0.Sexp.t
exception Not_found_s of Sexplib0.Sexp.t
exception Of_sexp_error of exn * Sexplib0.Sexp.t
val message : string -> (string * Sexplib0.Sexp.t) list -> Sexplib0.Sexp.t
val default_indent : int Stdlib.ref
val pp_hum : Stdlib.Format.formatter -> Sexplib0.Sexp.t -> unit
val pp_hum_indent : int -> Stdlib.Format.formatter -> Sexplib0.Sexp.t -> unit
val pp_mach : Stdlib.Format.formatter -> Sexplib0.Sexp.t -> unit
val pp : Stdlib.Format.formatter -> Sexplib0.Sexp.t -> unit
val to_string_hum : ?indent:int -> Sexplib0.Sexp.t -> string
val to_string_mach : Sexplib0.Sexp.t -> string
val to_string : Sexplib0.Sexp.t -> string
val of_float_style : [ `No_underscores | `Underscores ] Stdlib.ref
val of_int_style : [ `No_underscores | `Underscores ] Stdlib.ref
module Private : sig ... end
val t_sexp_grammar : t Sexplib0.Sexp_grammar.t
val invariant : t -> unit
val of_string : unit
  • deprecated [since 2018-02] Use [Parsexp.Single.parse_string_exn]
val (>=) : t -> t -> bool
val (<=) : t -> t -> bool
val (=) : t -> t -> bool
val (>) : t -> t -> bool
val (<) : t -> t -> bool
val (<>) : t -> t -> bool
val equal : t -> t -> bool
val compare : t -> t -> int
val min : t -> t -> t
val max : t -> t -> t
val ascending : t -> t -> int
val descending : t -> t -> int
val between : t -> low:t -> high:t -> bool
val clamp_exn : t -> min:t -> max:t -> t
val clamp : t -> min:t -> max:t -> t Base__.Or_error.t
type comparator_witness = Base__Sexp_with_comparable.comparator_witness
val comparator : (t, comparator_witness) Base__Comparator.comparator
val compare__local : t Base__Ppx_compare_lib.compare__local
val equal__local : t Base__Ppx_compare_lib.equal__local
OCaml

Innovation. Community. Security.