src/HOL/Tools/recfun_codegen.ML
changeset 20951 868120282837
parent 20897 3f8d2834b2c4
child 21128 7b2624686fc3
--- a/src/HOL/Tools/recfun_codegen.ML	Tue Oct 10 13:59:12 2006 +0200
+++ b/src/HOL/Tools/recfun_codegen.ML	Tue Oct 10 13:59:13 2006 +0200
@@ -56,7 +56,7 @@
   in case Symtab.lookup tab s of
       NONE => thy
     | SOME thms =>
-        RecCodegenData.put (Symtab.update (s, gen_rem (eq_thm o apfst fst) (thms, thm)) tab) thy
+        RecCodegenData.put (Symtab.update (s, remove (eq_thm o apsnd fst) thm thms) tab) thy
   end handle TERM _ => (warn thm; thy);
 
 val del = Thm.declaration_attribute