diff options
| author | letouzey | 2013-02-19 16:55:18 +0000 |
|---|---|---|
| committer | letouzey | 2013-02-19 16:55:18 +0000 |
| commit | ef64634b31a4cd999cd08636adbf117f81889fb1 (patch) | |
| tree | a8c4cf15e41961d90317dd1b97adfd70c39b67b2 /library/lib.ml | |
| parent | be4f29c6d62ecef7c8736c1cd154616d3ef5292c (diff) | |
Names: revised representation of constants and mutual_inductive
- a module KernelPair for improving sharing between constant and mind
- shorter representation than a pair when possible
- exports comparisions on constant and mind and ...
- a kn_equal function instead of Int.equal (kn_ord ...) 0
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16217 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'library/lib.ml')
| -rw-r--r-- | library/lib.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/lib.ml b/library/lib.ml index 191b00ea92..53ffce1d7e 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 && Int.equal (Names.kn_ord kn1 kn2) 0 + eq_full_path fp1 fp2 && Names.kn_equal kn1 kn2 let split_lib sp = let is_sp (nsp, _) = eq_object_name sp nsp in |
