src/FOLP/simp.ML
changeset 21287 a713ae348e8a
parent 21078 101aefd61aac
child 22360 26ead7ed4f4b
--- a/src/FOLP/simp.ML	Fri Nov 10 07:44:47 2006 +0100
+++ b/src/FOLP/simp.ML	Fri Nov 10 10:42:25 2006 +0100
@@ -222,8 +222,8 @@
 
 fun normed_rews congs =
   let val add_norms = add_norm_tags congs in
-    fn thm => Variable.tradeT (Variable.thm_context thm)
-      (map (add_norms o mk_trans) o maps mk_rew_rules) [thm]
+    fn thm => Variable.tradeT
+      (K (map (add_norms o mk_trans) o maps mk_rew_rules)) (Variable.thm_context thm) [thm]
   end;
 
 fun NORM norm_lhs_tac = EVERY'[rtac red2 , norm_lhs_tac, refl_tac];