aboutsummaryrefslogtreecommitdiffhomepage
path: root/library
diff options
context:
space:
mode:
authorGravatar letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7>2013-02-19 20:27:24 +0000
committerGravatar letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7>2013-02-19 20:27:24 +0000
commit3889c9a9e7d017ef2eea647d8c17d153a0b90083 (patch)
tree73c2f312472c7d4ac04508236e6599236a25d243 /library
parent7d381fb8b9a297b5802a36d9781012db55a83c38 (diff)
module_path --> ModPath.t, kernel_name --> KerName.t
For the moment, the compatibility names about these new modules are still used in the rest of Coq. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16220 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'library')
-rw-r--r--library/lib.ml2
-rw-r--r--library/nametab.ml12
2 files changed, 3 insertions, 11 deletions
diff --git a/library/lib.ml b/library/lib.ml
index 53ffce1d7..6b3110c20 100644
--- a/library/lib.ml
+++ b/library/lib.ml
@@ -190,7 +190,7 @@ let split_lib_gen test =
| Some r -> r
let eq_object_name (fp1, kn1) (fp2, kn2) =
- eq_full_path fp1 fp2 && Names.kn_equal kn1 kn2
+ eq_full_path fp1 fp2 && Names.KerName.equal kn1 kn2
let split_lib sp =
let is_sp (nsp, _) = eq_object_name sp nsp in
diff --git a/library/nametab.ml b/library/nametab.ml
index 0d326a49c..92b13d669 100644
--- a/library/nametab.ml
+++ b/library/nametab.ml
@@ -281,17 +281,9 @@ struct
let equal e1 e2 = Int.equal (ExtRefOrdered.compare e1 e2) 0
end
-module KnEqual =
-struct
- type t = kernel_name
- let equal = Names.kn_equal
-end
+module KnEqual = Names.KerName
-module MPEqual =
-struct
- type t = module_path
- let equal = mp_eq
-end
+module MPEqual = Names.ModPath
module ExtRefTab = Make(FullPath)(ExtRefEqual)
module KnTab = Make(FullPath)(KnEqual)