package dolmen

  1. Overview
  2. Docs
A parser library for automated deduction

Install

Dune Dependency

Authors

Maintainers

Sources

dolmen-0.9.tbz
sha256=003db53854bacc3a33fa55ed69cf79817c10369a4f7c6be944af1dcc36578a0a
sha512=3f8570f41c8c559c2907734efca98eecfc0f28ec3bce9dde500d5777a97391121a89ca66e7135d40b15161fe890d7b40fa53daba83eab0accf71fff136d45c74

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

Module Id.MapSource

Maps for ids

Sourcetype 'a t
Sourceval empty : _ t
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 bdingin 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.

OCaml

Innovation. Community. Security.