aboutsummaryrefslogtreecommitdiff
path: root/lib/cMap.ml
diff options
context:
space:
mode:
authorMaxime Dénès2016-01-06 00:58:42 +0100
committerMaxime Dénès2016-01-06 00:58:42 +0100
commit23cbf43f353c50fa72b72d694611c5c14367cea2 (patch)
treea04f140b3f383a798b3aeca9b92f663ff0d98dba /lib/cMap.ml
parentffc135337b479349a9e94c0da0a87531cf0684fa (diff)
Protect code against changes in Map interface.
The Map interface of upcoming OCaml 4.03 includes a new union operator. In order to make our homemade implementation of Maps compatible with OCaml versions from 3.12 to 4.03, we define our own signatures for Maps.
Diffstat (limited to 'lib/cMap.ml')
-rw-r--r--lib/cMap.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cMap.ml b/lib/cMap.ml
index cf590d96c3..048a690812 100644
--- a/lib/cMap.ml
+++ b/lib/cMap.ml
@@ -16,7 +16,7 @@ module type S = Map.S
module type ExtS =
sig
- include Map.S
+ include CSig.MapS
module Set : CSig.SetS with type elt = key
val update : key -> 'a -> 'a t -> 'a t
val modify : key -> (key -> 'a -> 'a) -> 'a t -> 'a t