package core

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = Base.Info.Internal_repr.t =
  1. | Could_not_construct of Base.Sexp.t
  2. | String of string
  3. | Exn of exn
  4. | Sexp of Base.Sexp.t
  5. | Tag_sexp of string * Base.Sexp.t * Lexing.position option
  6. | Tag_t of string * t
  7. | Tag_arg of string * Base.Sexp.t * t
  8. | Of_list of int option * t list
  9. | With_backtrace of t * string
    (*

    The second argument is the backtrace

    *)

The internal representation. It is exposed so that we can write efficient serializers outside of this module.

val sexp_of_t : t -> Sexplib0.Sexp.t
val of_info : Base.Info.t -> t
val to_info : t -> Base.Info.t
OCaml

Innovation. Community. Security.