aboutsummaryrefslogtreecommitdiff
path: root/lib/cMap.mli
diff options
context:
space:
mode:
authorppedrot2013-08-25 23:49:11 +0000
committerppedrot2013-08-25 23:49:11 +0000
commit3d35bfd5b25c6a37ab9d1cf62b51b4d718553f59 (patch)
treee5d3a51836d0b2b6174f6e72fe27d1c703c786cd /lib/cMap.mli
parent6e34881bf892602f297797481880ffa1d7db139d (diff)
Removing association lists in Reductionops. Btw, defining the dual of the
domain operation on maps. The efficiency should just be improved. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16737 85f007b7-540e-0410-9357-904b9bb8a0f7
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 9b7043d9ec..222138828e 100644
--- a/lib/cMap.mli
+++ b/lib/cMap.mli
@@ -27,6 +27,10 @@ sig
val domain : 'a t -> Set.t
(** Recover the set of keys defined in the map. *)
+ val bind : (key -> 'a) -> Set.t -> 'a t
+ (** [bind f s] transform the set [x1; ...; xn] into [x1 := f x1; ...;
+ xn := f xn]. *)
+
end
module Make(M : Map.OrderedType) : ExtS with