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