Terminal.Call_traceval mk_element : loc:'a -> ?msg:string -> unit -> 'a elementval pp_element :
(Stdlib.Format.formatter -> 'a -> unit) ->
Stdlib.Format.formatter ->
'a element ->
unittype 'a t = 'a element listval empty : 'a tval singleton : loc:'a -> ?msg:string -> unit -> 'a tval pp : (Stdlib.Format.formatter -> 'a -> unit) -> 'a element list Fmt.trename ?rev idx msg trace renames the element at idx with the message msg. If there is no element at idx, returns the input trace. If rev is true, index 0 corresponds to the root of the trace; otherwise index 0 is the top (most recent element) of the trace.