diff options
| author | herbelin | 2000-05-16 16:50:28 +0000 |
|---|---|---|
| committer | herbelin | 2000-05-16 16:50:28 +0000 |
| commit | dea6e140ecc65c108b4a77f590113096f0fd5a8d (patch) | |
| tree | 6c03a27c210023b03e6884257bcf58c7e74512ec /kernel | |
| parent | 79311e8734b5970afa3db069e9452c2521713895 (diff) | |
Ajout mis_typepath
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@435 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/inductive.ml | 2 | ||||
| -rw-r--r-- | kernel/inductive.mli | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/kernel/inductive.ml b/kernel/inductive.ml index 16c6b6c773..512c4b43cd 100644 --- a/kernel/inductive.ml +++ b/kernel/inductive.ml @@ -51,6 +51,8 @@ let mis_recargs mis = Array.map (fun mip -> mip.mind_listrec) mis.mis_mib.mind_packets let mis_recarg mis = mis.mis_mip.mind_listrec let mis_typename mis = mis.mis_mip.mind_typename +let mis_typepath mis = + make_path (dirpath mis.mis_sp) mis.mis_mip.mind_typename CCI let mis_consnames mis = mis.mis_mip.mind_consnames type constructor_summary = { diff --git a/kernel/inductive.mli b/kernel/inductive.mli index 8c431c319f..f7d3714177 100644 --- a/kernel/inductive.mli +++ b/kernel/inductive.mli @@ -58,6 +58,7 @@ val mis_kelim : mind_specif -> sorts list val mis_recargs : mind_specif -> (recarg list) array array val mis_recarg : mind_specif -> (recarg list) array val mis_typename : mind_specif -> identifier +val mis_typepath : mind_specif -> section_path val is_recursive : int list -> recarg list array -> bool val mis_is_recursive : mind_specif -> bool val mis_consnames : mind_specif -> identifier array |
