aboutsummaryrefslogtreecommitdiff
path: root/library/libnames.mli
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 /library/libnames.mli
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 'library/libnames.mli')
-rw-r--r--library/libnames.mli2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/libnames.mli b/library/libnames.mli
index b95c088715..c72f517532 100644
--- a/library/libnames.mli
+++ b/library/libnames.mli
@@ -60,7 +60,7 @@ val path_of_string : string -> full_path
val string_of_path : full_path -> string
val pr_path : full_path -> std_ppcmds
-module Spmap : Map.S with type key = full_path
+module Spmap : CSig.MapS with type key = full_path
val restrict_path : int -> full_path -> full_path