Legend:
Library
Module
Module type
Parameter
Class
Class type
Formatters for inspecting OCaml values.
Formatters of this module dump OCaml value with little control over the representation but with good default box structures and, whenever possible, using OCaml syntax.
hashtbl pp_k pp_v formats an unspecified representation of the bindings of a hash table using pp_k for the keys and pp_v for the values. If the hash table has multiple bindings for a given key, all bindings are formatted, with the most recent binding first.
stack pp_v formats an unspecified representation of an OCaml stack using pp_v to format its elements in top to bottom order.
Records
val field : ?label:string t->string ->('b->'a)->'at->'bt
field ~label l prj pp_v pretty prints a named field using label (defaults to styled `Yellow string) for the label, and using prj pp_v for the field value.
val iter : (('a-> unit)->'b-> unit)->'bt->'at->'bt
iter iter pp_name pp_elt formats an unspecified representation of the iterations of iter over a value using pp_elt. The iteration is named by pp_name.
val iter_bindings :
(('a->'b-> unit)->'c-> unit)->'ct->'at->'bt->'ct
iter_bindings ~sep iter pp_name pp_k pp_v formats an unspecified representation of the iterations of iter over a value using pp_k and pp_v. The iteration is named by pp_name.