diff options
author | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2000-07-24 13:39:23 +0000 |
---|---|---|
committer | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2000-07-24 13:39:23 +0000 |
commit | 3afaf3dde673d77cacaabc354f008dfbe49a7cee (patch) | |
tree | 4264164faf763ab8d18274cd5aeffe5a1de21728 /kernel/indtypes.mli | |
parent | 83f038e61a4424fcf71aada9f97c91165b73aef8 (diff) |
Passage à des contextes de vars et de rels pouvant contenir des déclarations
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@568 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'kernel/indtypes.mli')
-rw-r--r-- | kernel/indtypes.mli | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kernel/indtypes.mli b/kernel/indtypes.mli index 5a7f040d9..46c0255a2 100644 --- a/kernel/indtypes.mli +++ b/kernel/indtypes.mli @@ -15,10 +15,10 @@ open Environ type inductive_error = (* These are errors related to inductive constructions in this module *) - | NonPos of name list * constr * constr - | NotEnoughArgs of name list * constr * constr - | NotConstructor of name list * constr * constr - | NonPar of name list * constr * int * constr * constr + | NonPos of env * constr * constr + | NotEnoughArgs of env * constr * constr + | NotConstructor of env * constr * constr + | NonPar of env * constr * int * constr * constr | SameNamesTypes of identifier | SameNamesConstructors of identifier * identifier | NotAnArity of identifier @@ -45,11 +45,11 @@ val mind_check_names : mutual_inductive_entry -> unit [mind_entry_inds]. *) val mind_extract_and_check_params : - mutual_inductive_entry -> (name * constr) list + mutual_inductive_entry -> Sign.rel_context -val mind_extract_params : int -> constr -> (name * constr) list * constr +val mind_extract_params : int -> constr -> Sign.rel_context * constr -val mind_check_lc : (name * constr) list -> mutual_inductive_entry -> unit +val mind_check_lc : Sign.rel_context -> mutual_inductive_entry -> unit (* [mind_check_arities] checks that the types declared for all the inductive types are some arities. *) |