aboutsummaryrefslogtreecommitdiffhomepage
path: root/kernel/inductive.mli
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2008-07-25 19:59:53 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2008-07-25 19:59:53 +0000
commit98f9fb6ea86529fc623c031933e88ae9a8354a02 (patch)
tree15af56cae1f17a581d1ef16349c2997fc54ea4c7 /kernel/inductive.mli
parentd1622072214a433d875cbb25abe1b3e7d929e578 (diff)
Correction d'une incohérence de typage des inductifs polymorphes: les
contraintes bornant par le haut le type de l'inductif (ce qui peut arriver quand l'inductif est argument d'une constante) étaient oubliées : on pouvait se retrouver avec des inductifs dont le type des constructeurs, une fois instancié par des paramètres) n'était plus typable (seul leur réduit, après expansion des constantes, était typable). [kernel, test-suite] + Affichage des inductifs (via Print) en prenant la forme utilisateur des constructeurs. + Correction warning dans compilation gallina.ml. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@11266 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'kernel/inductive.mli')
-rw-r--r--kernel/inductive.mli3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/inductive.mli b/kernel/inductive.mli
index e63c7772c..118d19830 100644
--- a/kernel/inductive.mli
+++ b/kernel/inductive.mli
@@ -47,6 +47,9 @@ val type_of_constructor : constructor -> mind_specif -> types
(* Return constructor types in normal form *)
val arities_of_constructors : inductive -> mind_specif -> types array
+(* Return constructor types in user form *)
+val type_of_constructors : inductive -> mind_specif -> types array
+
(* Transforms inductive specification into types (in nf) *)
val arities_of_specif : mutual_inductive -> mind_specif -> types array