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/Duration/index.html

Module Make.DurationSource

The type of time durations. This module is just a convenience wrapper around Mtime.Span.

Sourceval equal : t -> t -> bool
Sourceval compare : t -> t -> int

Round values

Sourceval zero : t
Sourceval nanosecond : t
Sourceval microsecond : t
Sourceval millisecond : t
Sourceval second : t
Sourceval minute : t
Sourceval hour : t
Sourceval day : t

Convertors

Sourceval of_ns : float -> t
Sourceval of_us : float -> t
Sourceval of_ms : float -> t
Sourceval of_sec : float -> t
Sourceval of_min : float -> t
Sourceval of_hour : float -> t
Sourceval of_day : float -> t

From integers

Sourceval of_int_ms : int -> t
Sourceval of_int_sec : int -> t
Sourceval of_int_min : int -> t
Sourceval of_int_hour : int -> t
Sourceval of_int64_ms : int64 -> t
Sourceval of_int64_sec : int64 -> t
Sourcemodule Of_int : sig ... end

Infix operators

Sourceval (+) : t -> t -> t
Sourceval (<) : t -> t -> bool
Sourceval (<=) : t -> t -> bool
Sourceval (=) : t -> t -> bool
Sourceval (>=) : t -> t -> bool
Sourceval (>) : t -> t -> bool
OCaml

Innovation. Community. Security.