Module Info.Internal_repr

type t =
| Could_not_construct of Base.Sexp.t
| String of string
| Exn of exn
| Sexp of Base.Sexp.t
| Tag_sexp of string * Base.Sexp.t * Caml.Lexing.position option
| Tag_t of string * t
| Tag_arg of string * Base.Sexp.t * t
| Of_list of int option * t list
| 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 -> Base.Sexp.t
val of_info : Base.Info.t -> t
val to_info : t -> Base.Info.t