package shexp

  1. Overview
  2. Docs

Module Shexp_sexp.SexpSource

Mini S-expression library

Sourcetype t = Sexplib0.Sexp.t =
  1. | Atom of string
  2. | List of t list
Sourceval to_string : t -> string
Sourceval int : int -> t

Combinators

Sourceval int32 : int32 -> t
Sourceval int64 : int64 -> t
Sourceval float : float -> t
Sourceval string : string -> t
Sourceval char : char -> t
Sourceval bool : bool -> t
Sourceval exn : exn -> t
Sourceval pair : ('a -> t) -> ('b -> t) -> ('a * 'b) -> t
Sourceval list : ('a -> t) -> 'a list -> t
Sourceval option : ('a -> t) -> 'a option -> t
Sourceval record : (string * t) list -> t
Sourceval cstr : string -> t list -> t
Sourceval cstr_record : string -> (string * t) list -> t
Sourceval cstr_list : string -> ('a -> t) -> 'a list -> t
Sourceval register_exn_converter : extension_constructor -> (exn -> t) -> unit
OCaml

Innovation. Community. Security.