From b3093b1353395ee96d03d9e3771798c3425ff4ac Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Sat, 2 Feb 2013 00:30:45 +0000 Subject: [PATCH] Identity change, improves readability. --- matita/components/ng_kernel/nCicUntrusted.ml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/matita/components/ng_kernel/nCicUntrusted.ml b/matita/components/ng_kernel/nCicUntrusted.ml index b2003d1d7..ba5ad9f5a 100644 --- a/matita/components/ng_kernel/nCicUntrusted.ml +++ b/matita/components/ng_kernel/nCicUntrusted.ml @@ -209,8 +209,12 @@ let apply_subst status ?(fix_projections=false) subst context t = apply_subst subst () (NCicSubstitution.lift status n t)) l)))) | t -> NCicUtils.map status (fun _ () -> ()) () (apply_subst subst) t in - (if fix_projections then fire_projection_redex status () else fun x -> x) - (clean_or_fix_dependent_abstrations status context (apply_subst subst () t)) + let t = apply_subst subst () t in + let t = clean_or_fix_dependent_abstrations status context t in + if fix_projections then + fire_projection_redex status () t + else + t ;; let apply_subst_context status ~fix_projections subst context = -- 2.39.2