A lightweight, modular standard library extension, string library, and interfaces to various libraries (unix, threads, etc.) BSD license.
Find a file
2013-03-04 16:04:37 +01:00
tests PHashtbl.filter 2013-03-04 16:01:37 +01:00
.gitignore gitignore 2013-03-04 13:48:44 +01:00
.merlin .merlin config file 2013-03-04 13:48:17 +01:00
_tags makefile to build with ocamlbuild 2013-02-27 16:17:42 +01:00
cache.ml moved everything to the root directory 2013-03-04 13:25:25 +01:00
cache.mli moved everything to the root directory 2013-03-04 13:25:25 +01:00
containers.mllib moved everything to the root directory 2013-03-04 13:25:25 +01:00
deque.ml moved everything to the root directory 2013-03-04 13:25:25 +01:00
deque.mli moved everything to the root directory 2013-03-04 13:25:25 +01:00
flatHashtbl.ml moved everything to the root directory 2013-03-04 13:25:25 +01:00
flatHashtbl.mli moved everything to the root directory 2013-03-04 13:25:25 +01:00
graph.ml moved everything to the root directory 2013-03-04 13:25:25 +01:00
graph.mli moved everything to the root directory 2013-03-04 13:25:25 +01:00
hashset.ml Hashset based on PHashtbl 2013-03-04 16:04:37 +01:00
hashset.mli Hashset based on PHashtbl 2013-03-04 16:04:37 +01:00
heap.ml draft of Heap module 2013-03-04 15:35:34 +01:00
heap.mli draft of Heap module 2013-03-04 15:35:34 +01:00
leftistheap.ml moved everything to the root directory 2013-03-04 13:25:25 +01:00
leftistheap.mli moved everything to the root directory 2013-03-04 13:25:25 +01:00
LICENSE gitignore and update of readme; added LICENSE file (BSD) 2013-02-27 16:12:14 +01:00
Makefile small benchmarking of hashtable 2013-03-04 14:58:23 +01:00
pHashtbl.ml PHashtbl.filter 2013-03-04 16:01:37 +01:00
pHashtbl.mli PHashtbl.filter 2013-03-04 16:01:37 +01:00
README.md unit testing with oUnit 2013-03-04 13:49:08 +01:00
vector.ml moved everything to the root directory 2013-03-04 13:25:25 +01:00
vector.mli moved everything to the root directory 2013-03-04 13:25:25 +01:00

ocaml-containers

A bunch of containers,written in different occasions. Probably not very high quality, since not all containers are tested.

Use

You can either build and install the library (see Build), or just copy files to your own project. The last solution has the benefits that you don't have additional dependencies nor build complications (and it may enable more inlining). I therefore recommand it for its simplicity.

Build

You need the library sequence. With opam, type opam install sequence.

Then:

$ make

To build and run tests (requires oUnit):

$ make tests
$ ./tests.native

License

This code is free, under the BSD license. The module leftistheap is due to Jean-Christophe Filliâtre, under the GPL license.