diff options
| author | glondu | 2010-09-28 15:31:59 +0000 |
|---|---|---|
| committer | glondu | 2010-09-28 15:31:59 +0000 |
| commit | 013bc34fd828a5eb4eacd721a8021b64abf8a822 (patch) | |
| tree | 8195d81df68889daaa59b7b70d5918310b3a57c4 /kernel/term.ml | |
| parent | bb624e2e8fe125d78ecff93af68c56257b4eae45 (diff) | |
Remove kind_of_type, kind_of_term2 (dead code)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13467 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'kernel/term.ml')
| -rw-r--r-- | kernel/term.ml | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/kernel/term.ml b/kernel/term.ml index 0e0d598a08..844ffa62cb 100644 --- a/kernel/term.ml +++ b/kernel/term.ml @@ -102,24 +102,6 @@ type ('constr, 'types) kind_of_term = | Fix of ('constr, 'types) pfixpoint | CoFix of ('constr, 'types) pcofixpoint -(* Experimental *) -type ('constr, 'types) kind_of_type = - | SortType of sorts - | CastType of 'types * 'types - | ProdType of name * 'types * 'types - | LetInType of name * 'constr * 'types * 'types - | AtomicType of 'constr * 'constr array - -let kind_of_type = function - | Sort s -> SortType s - | Cast (c,_,t) -> CastType (c, t) - | Prod (na,t,c) -> ProdType (na, t, c) - | LetIn (na,b,t,c) -> LetInType (na, b, t, c) - | App (c,l) -> AtomicType (c, l) - | (Rel _ | Meta _ | Var _ | Evar _ | Const _ | Case _ | Fix _ | CoFix _ | Ind _ as c) - -> AtomicType (c,[||]) - | (Lambda _ | Construct _) -> failwith "Not a type" - (* constr is the fixpoint of the previous type. Requires option -rectypes of the Caml compiler to be set *) type constr = (constr,constr) kind_of_term @@ -273,7 +255,6 @@ let mkFix fix = Fix fix let mkCoFix cofix = CoFix cofix let kind_of_term c = c -let kind_of_term2 c = c (************************************************************************) (* kind_of_term = constructions as seen by the user *) |
