diff options
author | barras <barras@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2002-02-07 16:07:34 +0000 |
---|---|---|
committer | barras <barras@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2002-02-07 16:07:34 +0000 |
commit | 296faec482d17f9bfdc419f79ed565ecd8035e60 (patch) | |
tree | 410123e747a8b3f3ca44aacb86f241c10360257a /kernel/inductive.mli | |
parent | 85bdcf8b1ca9b515d848878537755069ed03fd27 (diff) |
petit nettoyage de kernel/inductive
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@2460 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'kernel/inductive.mli')
-rw-r--r-- | kernel/inductive.mli | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/kernel/inductive.mli b/kernel/inductive.mli index 720ae3e4a..719205331 100644 --- a/kernel/inductive.mli +++ b/kernel/inductive.mli @@ -16,22 +16,20 @@ open Declarations open Environ (*i*) -exception Induc - (*s Extracting an inductive type from a construction *) (* [find_m*type env sigma c] coerce [c] to an recursive type (I args). [find_rectype], [find_inductive] and [find_coinductive] respectively accepts any recursive type, only an inductive type and only a coinductive type. - They raise [Induc] if not convertible to a recursive type. *) + They raise [Not_found] if not convertible to a recursive type. *) val find_rectype : env -> types -> inductive * constr list val find_inductive : env -> types -> inductive * constr list val find_coinductive : env -> types -> inductive * constr list (*s Fetching information in the environment about an inductive type. - Raises Induc if the inductive type is not found. *) + Raises [Not_found] if the inductive type is not found. *) val lookup_mind_specif : env -> inductive -> mutual_inductive_body * one_inductive_body @@ -66,9 +64,3 @@ val check_case_info : env -> inductive -> case_info -> unit (*s Guard conditions for fix and cofix-points. *) val check_fix : env -> fixpoint -> unit val check_cofix : env -> cofixpoint -> unit - -(********************) -(* TODO: remove (used in pretyping only...) *) -val find_case_dep_nparams : - env -> constr * unsafe_judgment -> inductive * constr list -> - bool * constraints |