package progress

  1. Overview
  2. Docs
User-definable progress bars

Install

Dune Dependency

Authors

Maintainers

Sources

progress-0.2.2.tbz
sha256=3341c21923a21cd6b5b5cfa9ec3981f59572c367940fe5e02450533dfb4110b5
sha512=3edbe5ca6ea0bbc678b7dc4abe38bb4c3c4832de0144cc6e0791678712931fbaf2f7141196fca3fdc13a20777851cadcd165bf30c11d92193eecbd8f2d9dbf15

doc/progress.engine/Progress_engine/Make/Reporter/index.html

Module Make.ReporterSource

Sourcetype -'a t

The (abstract) type of reporter functions used by the manual lifecycle management functions in Display. An 'a t is conceptually an 'a -> unit function, but can be explicitly finalised.

Sourceval report : 'a t -> 'a -> unit
Sourceval finalise : _ t -> unit

finalise t terminates rendering of the line associated with reporter t. Attempting to report to a finalised reporter will raise an exception.

Sourcetype (_, _) list =
  1. | [] : ('a, 'a) list
  2. | :: : 'a * ('b, 'c) list -> ('a -> 'b, 'c) list

A heterogeneous list type, used by Display for returning a list of reporters corresponding to multi-line progress displays.

OCaml

Innovation. Community. Security.