Module Progress.Multi
The type of vertical sequences of progress bars. The parameter 'a stores a list of the reporting functions associated with each bar, terminating with 'b. For example:
(* Single progress bar, taking a [float] value. *)
(float reporter -> 'b, 'b) t
(* A two-bar layout, where the top bar takes [int64]s and the bottom one
takes [string * float] pairs. *)
(int64 reporter -> (string * float) reporter -> 'b, 'b) tThese reporting functions are supplied when beginning the rendering process.
val line :
'a Progress.Line.t ->
('a Progress.Multi.reporter -> 'b, 'b) Progress.Multi.tConstruct a multiple-line layout from a single progress bar line.
val lines :
'a Progress.Line.t list ->
('a Progress.Multi.reporter list -> 'b, 'b) Progress.Multi.tConstruct a multiple-line layout from a sequence of lines that all have the same type of reported values.
val (++) :
('a, 'b) Progress.Multi.t ->
('b, 'c) Progress.Multi.t ->
('a, 'c) Progress.Multi.tStack progress bars vertically. a ++ b is a set with a stacked on top of b. The two sections have separate reporting functions, passed consecutively to the with_reporters continuation when rendering.
val blank : ('a, 'a) Progress.Multi.tA blank line, for adding spacing between progress lines.