package dolmen

All checked builds pass
  1. Overview
  2. Docs
A parser library for automated deduction

Install

dune-project
 Dependency

Authors

Maintainers

Sources

dolmen-0.11.tbz
sha256=235c78a1f4dabc6c116d3d1cf51af286cb3fbed713c6116cd5d1b1cbed0cc87f
sha512=a5ca97d43a2e5ef2b03f5731e48cbfe9f09d7824e5839a9a614ca17d50ba71836b8d45b494f58df2566cf5e1983dad5fd75a3ce75f2c0fc5a9572f7ff4d97d2f

doc/dolmen.std/Dolmen_std/Id/Map/index.html

Module Id.MapSource

Maps for ids

Sourcetype 'a t
Sourceval empty : _ t

The empty map

Sourceval find_exn : t -> 'a t -> 'a

Exception-raising find function.

Sourceval find_opt : t -> 'a t -> 'a option

Option-returning find function.

Sourceval add : t -> 'a -> 'a t -> 'a t

Add a new binding, shadowing any earlier binding to the same key.

Sourceval find_add : t -> ('a option -> 'a) -> 'a t -> 'a t

Update the value bound to a key.

Sourceval iter : (t -> 'a -> unit) -> 'a t -> unit

Iter on the map.

Sourceval fold : (t -> 'a -> 'acc -> 'acc) -> 'a t -> 'acc -> 'acc

Fold on the map.