tuned
authorhaftmann
Sat, 31 May 2014 09:35:10 +0200
changeset 57142 ad09e59f50a9
parent 57141 19501c952c21
child 57143 3e083fb1218a
tuned
src/Pure/Isar/class.ML
--- a/src/Pure/Isar/class.ML	Sat May 31 09:35:09 2014 +0200
+++ b/src/Pure/Isar/class.ML	Sat May 31 09:35:10 2014 +0200
@@ -351,7 +351,7 @@
       #> snd
       #> pair def_thm);
 
-fun canonical_const dangling_params class phi ((b, mx), rhs) thy =
+fun canonical_const class phi dangling_params ((b, mx), rhs) thy =
   let
     val dangling_params' = map (Morphism.term phi) dangling_params;
     val b' = Morphism.binding phi b;
@@ -371,7 +371,7 @@
     |> Sign.add_const_constraint (c', SOME ty')
   end;
 
-fun canonical_abbrev prmode class phi ((b, mx), rhs) thy =
+fun canonical_abbrev class phi prmode ((b, mx), rhs) thy =
   let
     val unchecks = these_unchecks thy [class];
     val b' = Morphism.binding phi b;
@@ -396,7 +396,7 @@
   in
     lthy
     |> class_const class Syntax.mode_default (b, lhs)
-    |> Local_Theory.raw_theory (canonical_const dangling_params class phi ((b, mx), lhs))
+    |> Local_Theory.raw_theory (canonical_const class phi dangling_params ((b, mx), lhs))
     |> synchronize_class_syntax_target class
   end;
 
@@ -406,7 +406,7 @@
   in
     lthy
     |> class_const class prmode (b, lhs)
-    |> Local_Theory.raw_theory (canonical_abbrev prmode class phi ((b, mx), rhs'))
+    |> Local_Theory.raw_theory (canonical_abbrev class phi prmode ((b, mx), rhs'))
     |> synchronize_class_syntax_target class
   end;