adjusted name in generated code
authorhaftmann
Mon, 13 Nov 2006 15:43:12 +0100
changeset 21334 caa210551c01
parent 21333 eb291029d6cd
child 21335 6b9d4a19a3a8
adjusted name in generated code
src/HOL/Lambda/WeakNorm.thy
--- a/src/HOL/Lambda/WeakNorm.thy	Mon Nov 13 15:43:11 2006 +0100
+++ b/src/HOL/Lambda/WeakNorm.thy	Mon Nov 13 15:43:12 2006 +0100
@@ -624,13 +624,13 @@
 fun typing_of_term Ts e (Bound i) =
       Norm.Var (e, nat_of_int i, dBtype_of_typ (nth Ts i))
   | typing_of_term Ts e (t $ u) = (case fastype_of1 (Ts, t) of
-        Type ("fun", [T, U]) => Norm.App_1 (e, dB_of_term t,
+        Type ("fun", [T, U]) => Norm.Appa (e, dB_of_term t,
           dBtype_of_typ T, dBtype_of_typ U, dB_of_term u,
           typing_of_term Ts e t, typing_of_term Ts e u)
       | _ => error "typing_of_term: function type expected")
   | typing_of_term Ts e (Abs (s, T, t)) =
       let val dBT = dBtype_of_typ T
-      in Norm.Abs_1 (e, dBT, dB_of_term t,
+      in Norm.Absa (e, dBT, dB_of_term t,
         dBtype_of_typ (fastype_of1 (T :: Ts, t)),
         typing_of_term (T :: Ts) (Type.shift e ROOT.Nat.Zero_nat dBT) t)
       end