src/Tools/Code/code_preproc.ML
changeset 34251 cd642bb91f64
parent 34244 03f8dcab55f3
child 34891 99b9a6290446
--- a/src/Tools/Code/code_preproc.ML	Mon Jan 04 16:00:23 2010 +0100
+++ b/src/Tools/Code/code_preproc.ML	Mon Jan 04 16:00:24 2010 +0100
@@ -282,7 +282,7 @@
    of SOME classess => (classess, ([], []))
     | NONE => let
         val all_classes = complete_proper_sort thy [class];
-        val superclasses = remove (op =) class all_classes
+        val superclasses = remove (op =) class all_classes;
         val classess = map (complete_proper_sort thy)
           (Sign.arity_sorts thy tyco [class]);
         val inst_params = inst_params thy tyco all_classes;
@@ -454,8 +454,8 @@
 
 (** retrieval and evaluation interfaces **)
 
-fun obtain theory cs ts = apsnd snd
-  (Wellsorted.change_yield theory (fn thy => extend_arities_eqngr thy cs ts));
+fun obtain thy cs ts = apsnd snd
+  (Wellsorted.change_yield thy (extend_arities_eqngr thy cs ts));
 
 fun gen_eval thy cterm_of conclude_evaluation evaluator proto_ct =
   let