package shexp

  1. Overview
  2. Docs
val eval : ?context:Context.t -> ?capture:bool -> 'a t -> ('a, exn) Stdlib.result * Shexp_sexp.Std.Sexp.t

Produce a full execution trace.

If capture is true, then anything printed on the original stdout/stderr is captured and becomes part of the trace.

val eval_exn : ?context:Context.t -> ?capture:bool -> 'a t -> 'a * Shexp_sexp.Std.Sexp.t
OCaml

Innovation. Community. Security.