Module Info.Internal_repr

type t =
  1. | Could_not_construct of Sexp.t
  2. | String of string
  3. | Exn of exn
  4. | Sexp of Sexp.t
  5. | Tag_sexp of string * Sexp.t * Lexing.position option
  6. | Tag_t of string * t
  7. | Tag_arg of string * 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 : t -> t
val to_info : t -> t