package progress

  1. Overview
  2. Docs
User-definable progress bars

Install

Dune Dependency

Authors

Maintainers

Sources

progress-0.3.0.tbz
sha256=3dfd00bd4def773239159b17781d02fdbfd8ea191801681a94aa0a5be1d06b7c
sha512=fd64ff8a819b2db2460c06b7fbd5663e2a1941f9e2d4e9b921a3d5f24509fe3be543521fbe1bb6baedad9f62b579aae933efac3903db03a27385233f5461f09c

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.