forked from cubicle-model-checker/cubicle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pretty.mli
36 lines (29 loc) · 1.67 KB
/
pretty.mli
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
(**************************************************************************)
(* *)
(* Cubicle *)
(* *)
(* Copyright (C) 2011-2014 *)
(* *)
(* Sylvain Conchon and Alain Mebsout *)
(* Universite Paris-Sud 11 *)
(* *)
(* *)
(* This file is distributed under the terms of the Apache Software *)
(* License version 2.0 *)
(* *)
(**************************************************************************)
open Format
(** Pretty printing functions *)
val vt_width : int
(** Width of the virtual terminal (80 if cannot be detected) *)
val print_line : formatter -> unit -> unit
(** prints separating line *)
val print_double_line : formatter -> unit -> unit
(** prints separating double line *)
val print_title : formatter -> string -> unit
(** prints section title for stats *)
val print_list :
(formatter -> 'a -> unit) ->
('b, formatter, unit) format -> formatter -> 'a list -> unit
(** [print_list f sep fmt l] prints list [l] whose elements are printed with
[f], each of them being separated by the separator [sep]. *)