PersistentMapsToImperativeMaps.1-M
type key
The type of keys.
type 'data t
The type of association maps.
val empty : 'data t
The empty map.
val add : key -> 'data -> 'data t -> 'data t
add inserts a new entry or replaces an existing entry.
add
val find : key -> 'data t -> 'data
find raises Not_found if the key is not in the domain of the map.
find
Not_found
val iter : (key -> 'data -> unit) -> 'data t -> unit
iter iterates over all entries.
iter