package progress

  1. Overview
  2. Docs
User-definable progress bars

Install

Dune Dependency

Authors

Maintainers

Sources

progress-0.4.0.tbz
sha256=8be449553379bb2dc5e8b79805c80447690a03dca3e9aee959fecf46d8278fb7
sha512=841383e8aa7d6bd802ced5eb7feae01bd507b2914eb45e8a559140677f83d5b8ec614f1d0bc54421021b5254a1edd78dd8a2506b2dfb264af72448d76bd03ac5

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.