package progress

  1. Overview
  2. Docs
User-definable progress bars

Install

Dune Dependency

Authors

Maintainers

Sources

progress-0.4.0.tbz
sha256=8be449553379bb2dc5e8b79805c80447690a03dca3e9aee959fecf46d8278fb7
sha512=841383e8aa7d6bd802ced5eb7feae01bd507b2914eb45e8a559140677f83d5b8ec614f1d0bc54421021b5254a1edd78dd8a2506b2dfb264af72448d76bd03ac5

doc/progress.engine/Progress_engine/Make/Units/Bytes/index.html

Module Units.BytesSource

Prints a numeric value as as a byte count.

  0                ↦  "   0.0 B  "
  999              ↦  " 999.0 B  "
  1024             ↦  "   1.0 KiB"
  1024 * 1023      ↦  "1023.0 KiB"
  1024 * 1024 - 1  ↦  "1023.9 KiB"
Sourceval generic : (module Integer.S with type t = 't) -> 't Progress_engine__.Printer.t
Sourceval of_int : int Progress_engine__.Printer.t
Sourceval of_float : float Progress_engine__.Printer.t
Sourceval of_int64 : int64 Progress_engine__.Printer.t

Quick builders for base-2 byte counts

Sourceval kib : int -> int64

kib n is n kibibytes.

Sourceval mib : int -> int64

mib n is n mebibytes.

Sourceval gib : int -> int64

gib n is n gibibytes.

Sourceval tib : int -> int64

tib n is n tebibytes.

Sourceval pib : int -> int64

pib n is n pebibytes.

OCaml

Innovation. Community. Security.