aboutsummaryrefslogtreecommitdiff
path: root/kernel/typeops.ml
diff options
context:
space:
mode:
authorherbelin2007-08-27 11:41:08 +0000
committerherbelin2007-08-27 11:41:08 +0000
commitc31fabdc5aadbf22d1d27f22aa737188acc6f12b (patch)
tree5cbf70174b34c21cd771d9bcea1a6cdfa40a0c44 /kernel/typeops.ml
parent6b94d962f0722e218fa349651b6acd64c404bd29 (diff)
Suppression des type_app et body_of_type qui alourdissent inutilement le code
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@10098 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'kernel/typeops.ml')
-rw-r--r--kernel/typeops.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/typeops.ml b/kernel/typeops.ml
index 9b8735fa72..a09b0799b8 100644
--- a/kernel/typeops.ml
+++ b/kernel/typeops.ml
@@ -82,7 +82,7 @@ let judge_of_relative env n =
try
let (_,_,typ) = lookup_rel n env in
{ uj_val = mkRel n;
- uj_type = type_app (lift n) typ }
+ uj_type = lift n typ }
with Not_found ->
error_unbound_rel env n
@@ -192,7 +192,7 @@ let judge_of_abstraction env name var j =
let judge_of_letin env name defj typj j =
{ uj_val = mkLetIn (name, defj.uj_val, typj.utj_val, j.uj_val) ;
- uj_type = type_app (subst1 defj.uj_val) j.uj_type }
+ uj_type = subst1 defj.uj_val j.uj_type }
(* Type of an application. *)