package hardcaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Embed the callstack in the signal type when it is created.

When an exception occurs, the callstack is printed as part of the sexp of the signal. This is especially useful for dangling wires as it shows the construction site of the wire rather than the place that the dangling wire was detected.

By default it is not enabled.

module Mode : sig ... end
type t
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val set_mode : Mode.t -> Hardcaml__.Import.Unit.t
val get : ?skip:Hardcaml__.Import.String.t Hardcaml__.Import.List.t -> Hardcaml__.Import.Unit.t -> t Hardcaml__.Import.Option.t
OCaml

Innovation. Community. Security.