diff --git a/trace/_doc-dir/CHANGES.md b/trace/_doc-dir/CHANGES.md index a563d37b..dd9ae4f8 100644 --- a/trace/_doc-dir/CHANGES.md +++ b/trace/_doc-dir/CHANGES.md @@ -1,3 +1,10 @@ +# 0.9.1 + + +- fix: upper bound on ppxlib +- feat trace-tef: print names of non-closed spans upon exit +- fix: block signals in background threads + # 0.9 - add an extensible sum type, so users can implement custom events. For example diff --git a/yojson/Yojson/Safe/index.html b/yojson/Yojson/Safe/index.html index b50f3a27..cc752a3b 100644 --- a/yojson/Yojson/Safe/index.html +++ b/yojson/Yojson/Safe/index.html @@ -13,7 +13,7 @@ ?len:int -> ?suf:string -> ?std:bool -> - out_channel -> + Stdlib.out_channel -> t -> unit

Write a compact JSON value to a channel. Note: the out_channel is not flushed by this function.

See to_string for the role of the optional arguments and raised exceptions.

val to_output : ?buf:Stdlib.Buffer.t -> @@ -33,7 +33,7 @@ ?len:int -> ?suf:string -> ?std:bool -> - out_channel -> + Stdlib.out_channel -> t Stdlib.Seq.t -> unit

Write a sequence of suf-suffixed compact one-line JSON values to a channel.

val seq_to_file : ?len:int -> @@ -46,7 +46,7 @@ ?std:bool -> Stdlib.Buffer.t -> t Stdlib.Seq.t -> - unit

Write a sequence of suf-suffixed compact one-line JSON values to an existing buffer.

val write_t : Stdlib.Buffer.t -> t -> unit

Write the given JSON value to the given buffer. Provided as a writer function for atdgen.

Miscellaneous

val sort : t -> t

Sort object fields (stable sort, comparing field names and treating them as byte sequences)

JSON pretty-printing

val pretty_print : ?std:bool -> Stdlib.Format.formatter -> t -> unit

Pretty-print into a Format.formatter. See to_string for the role of the optional std argument.

val pretty_to_string : ?std:bool -> t -> string

Pretty-print into a string. See to_string for the role of the optional std argument. See pretty_print for raised exceptions.

val pretty_to_channel : ?std:bool -> out_channel -> t -> unit

Pretty-print to a channel. See to_string for the role of the optional std argument. See pretty_print for raised exceptions.

val prettify : ?std:bool -> string -> string

Combined parser and pretty-printer. See to_string for the role of the optional std argument and raised exceptions.

val compact : ?std:bool -> string -> string

Combined parser and printer. See to_string for the role of the optional std argument and raised exceptions.

JSON readers

exception Finally of exn * exn

Exception describing a failure in both finalizer and parsing.

val from_string : + unit

Write a sequence of suf-suffixed compact one-line JSON values to an existing buffer.

val write_t : Stdlib.Buffer.t -> t -> unit

Write the given JSON value to the given buffer. Provided as a writer function for atdgen.

Miscellaneous

val sort : t -> t

Sort object fields (stable sort, comparing field names and treating them as byte sequences)

JSON pretty-printing

val pretty_print : ?std:bool -> Stdlib.Format.formatter -> t -> unit

Pretty-print into a Format.formatter. See to_string for the role of the optional std argument.

val pretty_to_string : ?std:bool -> t -> string

Pretty-print into a string. See to_string for the role of the optional std argument. See pretty_print for raised exceptions.

val pretty_to_channel : ?std:bool -> Stdlib.out_channel -> t -> unit

Pretty-print to a channel. See to_string for the role of the optional std argument. See pretty_print for raised exceptions.

val prettify : ?std:bool -> string -> string

Combined parser and pretty-printer. See to_string for the role of the optional std argument and raised exceptions.

val compact : ?std:bool -> string -> string

Combined parser and printer. See to_string for the role of the optional std argument and raised exceptions.

JSON readers

exception Finally of exn * exn

Exception describing a failure in both finalizer and parsing.

val from_string : ?buf:Stdlib.Buffer.t -> ?fname:string -> ?lnum:int -> @@ -55,7 +55,7 @@ ?buf:Stdlib.Buffer.t -> ?fname:string -> ?lnum:int -> - in_channel -> + Stdlib.in_channel -> t

Read a JSON value from a channel. See from_string for the meaning of the optional arguments and raised exceptions.

val from_file : ?buf:Stdlib.Buffer.t -> ?fname:string -> @@ -76,7 +76,7 @@ ?fin:(unit -> unit) -> ?fname:string -> ?lnum:int -> - in_channel -> + Stdlib.in_channel -> t Stdlib.Seq.t

Input a sequence of JSON values from a channel. Whitespace between JSON values is fine but not required.

See from_string for the meaning of the other optional arguments and other raised exceptions.

val seq_from_file : ?buf:Stdlib.Buffer.t -> ?fname:string -> @@ -91,7 +91,7 @@ ?fin:(unit -> unit) -> ?fname:string -> ?lnum:int -> - in_channel -> + Stdlib.in_channel -> json_line Stdlib.Seq.t

Input a sequence of JSON values, one per line, from a channel. Exceptions raised when reading malformed lines are caught and represented using `Exn.

See seq_from_channel for the meaning of the optional fin argument. See from_string for the meaning of the other optional arguments and raised exceptions.

val lineseq_from_file : ?buf:Stdlib.Buffer.t -> ?fname:string ->