/ocaml-bitarray

OCaml bindings to Bitarray library via ctypes

Primary LanguageC

ocaml-bitarray

OCaml bindings to the C-based Bitarray library via ctypes

Summary

This repository provides OCaml binding's to noporpoise's full-featured Bitarray library.

Why

Bitarray is an easy-to-use C library providing most any bitarray functionality you'd ever need excepting compression. The API is easy-to-read, well-tested and very easy to bind to.

Installation

Do standard thing

$ ocaml setup.ml -configure
$ ocaml setup.ml -build
$ ocaml setup.ml -install

Usage

See simple.ml and the mli to get a sense of how this works.