A lightweight, modular standard library extension, string library, and interfaces to various libraries (unix, threads, etc.) BSD license.
Find a file
Simon Cruanes d19abf889c updated Graph to remove the functor; it is now
imperative, backed by PHashtbl, and offers a simplified Dot-printing interface.
2013-03-04 17:35:22 +01:00
tests added PHashtbl.get_eq/get_hash, to access the functions; 2013-03-04 17:31: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 updated Graph to remove the functor; it is now 2013-03-04 17:35:22 +01:00
graph.mli updated Graph to remove the functor; it is now 2013-03-04 17:35:22 +01:00
hashset.ml hashset.union/inter take an optional argument for the resulting set 2013-03-04 17:30:34 +01:00
hashset.mli hashset.union/inter take an optional argument for the resulting set 2013-03-04 17:30:34 +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 added PHashtbl.get_eq/get_hash, to access the functions; 2013-03-04 17:31:37 +01:00
pHashtbl.mli added PHashtbl.get_eq/get_hash, to access the functions; 2013-03-04 17:31: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.