File: README.md

package info (click to toggle)
ocaml-hmap 0.8.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 120 kB
  • sloc: ml: 191; makefile: 15
file content (43 lines) | stat: -rw-r--r-- 1,268 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Hmap — Heterogeneous value maps for OCaml
-------------------------------------------------------------------------------
v0.8.1

Hmap provides heterogeneous value maps for OCaml. These maps bind keys
to values with arbitrary types. Keys witness the type of the value
they are bound to which allows to add and lookup bindings in a type
safe manner.

Hmap has no dependency and is distributed under the ISC license.

Home page: http://erratique.ch/software/hmap  
Contact: Daniel Bünzli `<daniel.buenzl i@erratique.ch>`

## Installation

Hmap can be installed with `opam`:

    opam install hmap

If you don't use `opam` consult the [`opam`](opam) file for build
instructions.

## Documentation

The documentation and API reference is automatically generated by
`ocamldoc` from the interfaces. It can be consulted [online][doc]
and there is a generated version in the `doc` directory of the
distribution.

[doc]: http://erratique.ch/software/hmap/doc

## Sample programs

If you installed Hmap with `opam` sample programs are located in
the directory `opam config var hmap:doc`.

In the distribution sample programs and tests are located in the
[`test`](test) directory of the distribution. They can be built an run
with

    topkg build --tests true
    topkg test