Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
This type is primarily used for debugging purposes.
An t
value includes the name of the trait constructor and the module path where it was defined. It may also include the runtime id for the extensible variant of the trait, but this is not included by default as its value can be brittle (it may depend on the order in which modules are evaluated).
This type provides a way to retrieve and display detailed information about a trait, which can be useful for debugging and understanding the structure and behavior of the provider system.
val sexp_of_t : t -> Sexplib0.Sexp.t
Controls whether the runtime ids are shown or hidden in the sexp built by sexp_of_t
. By default Fn.const (Sexp.Atom "#id")
. You may temporarily change it, e.g. in a test, for example using Ref.set_temporarily
.