package progress

  1. Overview
  2. Docs
User-definable progress bars

Install

Dune Dependency

Authors

Maintainers

Sources

terminal-0.2.0.tbz
sha256=7a92f6aede3d5010a30e6e47ccbc8380cc5bece8ac95c508323eb25272e6ddd3
sha512=a2ccea467e2d0e419b569992102bd2c43ff97b47f7f8413ee8fbe775ce369a80ff11e0a8fd450ebf1776f7c65baf2482076a120318c9d818488ceba0b9196639

doc/progress/Progress/Duration/index.html

Module Progress.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.