tuned names
authorhaftmann
Sat, 31 May 2014 09:35:08 +0200
changeset 57140 26df5a93ec27
parent 57139 5e9507c002cc
child 57141 19501c952c21
tuned names
src/Pure/Isar/class.ML
--- a/src/Pure/Isar/class.ML	Sat May 31 09:35:07 2014 +0200
+++ b/src/Pure/Isar/class.ML	Sat May 31 09:35:08 2014 +0200
@@ -355,7 +355,7 @@
       #> snd
       #> pair def_thm);
 
-fun global_const dangling_params class phi ((b, mx), rhs) thy =
+fun canonical_const dangling_params class phi ((b, mx), rhs) thy =
   let
     val dangling_params' = map (Morphism.term phi) dangling_params;
     val b' = Morphism.binding phi b;
@@ -375,7 +375,7 @@
     |> Sign.add_const_constraint (c', SOME ty')
   end;
 
-fun global_abbrev prmode class phi ((b, mx), rhs) thy =
+fun canonical_abbrev prmode class phi ((b, mx), rhs) thy =
   let
     val unchecks = these_unchecks thy [class];
     val b' = Morphism.binding phi b;
@@ -399,12 +399,12 @@
   in
     lthy
     |> class_const class Syntax.mode_default (b, lhs)
-    |> target_extension (global_const dangling_params) class ((b, mx), lhs)
+    |> target_extension (canonical_const dangling_params) class ((b, mx), lhs)
   end;
 
 fun abbrev class prmode ((b, mx), lhs) rhs' =
   class_const class prmode (b, lhs)
-  #> target_extension (global_abbrev prmode) class ((b, mx), rhs');
+  #> target_extension (canonical_abbrev prmode) class ((b, mx), rhs');
 
 end;