package progress

  1. Overview
  2. Docs
User-definable progress bars

Install

dune-project
 Dependency

Authors

Maintainers

Sources

progress-0.5.0.tbz
sha256=7f87f0597363928c45ba859ae5a1430f6aa3c29e251ff1a53cf786ed0e045961
sha512=45dee4fe2ae0b7fc3ca675f6e854d738873eb608ef9155ea5d7edac4639c183ae1f512847a1b43bdfc1f4c459e7d5b44d03ee809455797e680f890b33d531367

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.