src/Pure/Isar/code.ML
changeset 33708 b45d3b8cc74e
parent 33531 2c0a4adbcf13
child 33756 47b7c9e0bf6e
--- a/src/Pure/Isar/code.ML	Sun Nov 15 21:58:40 2009 +0100
+++ b/src/Pure/Isar/code.ML	Mon Nov 16 10:16:40 2009 +0100
@@ -268,7 +268,7 @@
    of SOME cs => invoke_purge_all thy (complete_class_params thy cs) (! data)
     | NONE => empty_data))) thy;
 
-val purge_data = (Code_Data.map o apsnd) (K (Unsynchronized.ref empty_data));
+val purge_data = (Code_Data.map o apsnd) (fn _ => Unsynchronized.ref empty_data);
 
 fun change_eqns delete c f = (map_exec_purge (SOME [c]) o map_eqns
   o (if delete then Symtab.map_entry c else Symtab.map_default (c, ((false, (true, [])), [])))