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/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.