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