opam install dune dune build
See examples/ folder. To run examples, try:
./_build/default/examples/ex_array.exe ./_build/default/examples/ex_linlist.exe ./_build/default/examples/ex_session.exe
OCaml 4.06.1 or higher. Checked with OCaml 4.07.0