package progress

  1. Overview
  2. Docs
User-definable progress bars

Install

Dune Dependency

Authors

Maintainers

Sources

terminal-0.2.1.tbz
sha256=7ae7f5c5a2db88107d0b3fd37d5344f066921270a3e74d56dd13457feb9e586e
sha512=3828ac568e447e5f1e59450ee48491c256d8bc77abe234190e14e2db5be7b81f379837083f0eb28ea9572fce2781fd0addd7adc1701947c0b2de9d8319ace042

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.