Skip to content

LaurentMazare/ocaml-tqdm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ocaml-tqdm

ocaml-tqdm is a progress bar library for OCaml. The implementation is based on Python tqdm library.

The package can easily be installed via opam, opam install tqdm.

Below is an example of how to use it:

module T = Tqdm.Tqdm
T.with_bar 100 ~f:(fun tqdm ->
  for v = 1 to 100 do
    Unix.sleepf 0.1;
    T.update tqdm v
done);