From 1018be0472d41e9e12b181d1e11b04fa413754f2 Mon Sep 17 00:00:00 2001 From: Emilio Jesus Gallego Arias Date: Tue, 31 May 2016 14:58:35 +0200 Subject: Add documentation to the low-level `Pp` functions. Thanks to HH for pointing it out. --- lib/pp.mli | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib') diff --git a/lib/pp.mli b/lib/pp.mli index ced4b6603..a18744c37 100644 --- a/lib/pp.mli +++ b/lib/pp.mli @@ -170,5 +170,9 @@ val pr_vertical_list : ('b -> std_ppcmds) -> 'b list -> std_ppcmds (** FIXME: These ignore the logging settings and call [Format] directly *) type tag_handler = Tag.t -> Format.tag + +(** [msg_with fmt pp] Print [pp] to [fmt] and flush [fmt] *) val msg_with : Format.formatter -> std_ppcmds -> unit + +(** [msg_with fmt pp] Print [pp] to [fmt] and don't flush [fmt] *) val pp_with : ?pp_tag:tag_handler -> Format.formatter -> std_ppcmds -> unit -- cgit v1.2.3