aboutsummaryrefslogtreecommitdiff
path: root/lib/cMap.mli
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cMap.mli')
-rw-r--r--lib/cMap.mli4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/cMap.mli b/lib/cMap.mli
index 222138828e..8865c1eefd 100644
--- a/lib/cMap.mli
+++ b/lib/cMap.mli
@@ -24,6 +24,10 @@ sig
module Set : Set.S with type elt = key
(** Sets used by the domain function *)
+ val modify : key -> (key -> 'a -> 'a) -> 'a t -> 'a t
+ (** Apply the given function to the binding of the given key.
+ @raise [Not_found] when the key is unbound in the map. *)
+
val domain : 'a t -> Set.t
(** Recover the set of keys defined in the map. *)