From bedaec8452d0600ede52efeeac016c9d323c66de Mon Sep 17 00:00:00 2001 From: herbelin Date: Wed, 18 Oct 2000 14:37:44 +0000 Subject: Renommage canonique : declaration = definition | assumption mode de reference = named | rel Ex: push_named_decl : named_declaration -> env -> env lookup_named : identifier -> safe_environment -> constr option * typed_type add_named_assum : identifier * typed_type -> named_context -> named_context add_named_def : identifier*constr*typed_type -> named_context -> named_context git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@723 85f007b7-540e-0410-9357-904b9bb8a0f7 --- kernel/declarations.mli | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'kernel/declarations.mli') diff --git a/kernel/declarations.mli b/kernel/declarations.mli index 65f70e2776..3a85e7e05f 100644 --- a/kernel/declarations.mli +++ b/kernel/declarations.mli @@ -8,6 +8,9 @@ open Term open Sign (*i*) +(* This module defines the types of global declarations. This includes + global constants/axioms and mutual inductive definitions *) + (*s Constants (internal representation) (Definition/Axiom) *) type lazy_constant_value = @@ -20,7 +23,7 @@ type constant_body = { const_kind : path_kind; const_body : constant_value option; const_type : typed_type; - const_hyps : var_context; (* New: younger hyp at top *) + const_hyps : named_context; (* New: younger hyp at top *) const_constraints : constraints; mutable const_opaque : bool } @@ -66,7 +69,7 @@ type one_inductive_body = { type mutual_inductive_body = { mind_kind : path_kind; mind_ntypes : int; - mind_hyps : var_context; + mind_hyps : named_context; mind_packets : one_inductive_body array; mind_constraints : constraints; mind_singl : constr option; -- cgit v1.2.3