aboutsummaryrefslogtreecommitdiff
path: root/pretyping/classops.ml
diff options
context:
space:
mode:
authorherbelin2001-10-11 17:27:20 +0000
committerherbelin2001-10-11 17:27:20 +0000
commit301a70e45eac43f034077c95bce04edbcf2ab4ad (patch)
treed61c92f0d7a46203618a4610301c64d65c9c03ad /pretyping/classops.ml
parent1d5b3f16e202af2874181671abd86a47fca37cd7 (diff)
Suppression option immediate_discharge; nettoyage de Declare et conséquences
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@2109 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'pretyping/classops.ml')
-rwxr-xr-xpretyping/classops.ml13
1 files changed, 0 insertions, 13 deletions
diff --git a/pretyping/classops.ml b/pretyping/classops.ml
index 5a88e62dca..18bb390990 100755
--- a/pretyping/classops.ml
+++ b/pretyping/classops.ml
@@ -21,19 +21,6 @@ open Rawterm
(* usage qque peu general: utilise aussi dans record *)
-type cte_typ =
- | NAM_Section_Variable of variable
- | NAM_Constant of constant
- | NAM_Inductive of inductive
- | NAM_Constructor of constructor
-
-let cte_of_constr c = match kind_of_term c with
- | IsConst sp -> ConstRef sp
- | IsMutInd ind_sp -> IndRef ind_sp
- | IsMutConstruct cstr_cp -> ConstructRef cstr_cp
- | IsVar id -> VarRef (Declare.find_section_variable id)
- | _ -> raise Not_found
-
type cl_typ =
| CL_SORT
| CL_FUN