From 98f9fb6ea86529fc623c031933e88ae9a8354a02 Mon Sep 17 00:00:00 2001 From: herbelin Date: Fri, 25 Jul 2008 19:59:53 +0000 Subject: 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] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit + 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 --- kernel/inductive.mli | 3 +++ 1 file changed, 3 insertions(+) (limited to 'kernel/inductive.mli') 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 -- cgit v1.2.3