/ocaml-bits

Primary LanguageCISC LicenseISC

bits — Library for manipulating of bit vectors

%%VERSION%%

Bits is module for manipulating bit vectors. Basic primitives are moved to C code for speed.

Bits is distributed under the ISC license.

Homepage: https://github.com/vasil-sd/ocaml-bits

Installation

Bits can be installed with opam:

git clone https://github.com/vasil-sd/ocaml-bits.git
opam pin add bits ocaml-bits

If you don't use opam consult the opam file for build instructions.

Documentation

The documentation and API reference is generated from the source interfaces. It can be consulted online or via odig doc bits.

Sample programs

If you installed bits with opam sample programs are located in the directory opam var bits:doc.

In the distribution sample programs and tests are located in the test directory. They can be built and run with:

topkg build --tests true && topkg test