renamed AxClass.get_definition to AxClass.get_info (again);
authorwenzelm
Tue, 09 Oct 2007 17:10:38 +0200
changeset 24928 3419943838f5
parent 24927 48e08f37ce92
child 24929 408becab067e
renamed AxClass.get_definition to AxClass.get_info (again);
src/HOL/Tools/refute.ML
src/Pure/Isar/code.ML
src/Tools/code/code_target.ML
--- a/src/HOL/Tools/refute.ML	Tue Oct 09 17:10:36 2007 +0200
+++ b/src/HOL/Tools/refute.ML	Tue Oct 09 17:10:38 2007 +0200
@@ -794,7 +794,7 @@
       val superclasses = distinct (op =) superclasses
       val class_axioms = maps (fn class => map (fn ax =>
         ("<" ^ class ^ ">", Thm.prop_of ax))
-        (#axioms (AxClass.get_definition thy class) handle ERROR _ => []))
+        (#axioms (AxClass.get_info thy class) handle ERROR _ => []))
         superclasses
       (* replace the (at most one) schematic type variable in each axiom *)
       (* by the actual type 'T'                                          *)
--- a/src/Pure/Isar/code.ML	Tue Oct 09 17:10:36 2007 +0200
+++ b/src/Pure/Isar/code.ML	Tue Oct 09 17:10:38 2007 +0200
@@ -597,7 +597,7 @@
 fun operational_algebra thy =
   let
     fun add_iff_operational class =
-      can (AxClass.get_definition thy) class ? cons class;
+      can (AxClass.get_info thy) class ? cons class;
     val operational_classes = fold add_iff_operational (Sign.all_classes thy) []
   in retrieve_algebra thy (member (op =) operational_classes) end;
 
--- a/src/Tools/code/code_target.ML	Tue Oct 09 17:10:36 2007 +0200
+++ b/src/Tools/code/code_target.ML	Tue Oct 09 17:10:38 2007 +0200
@@ -1903,13 +1903,13 @@
 
 fun cert_class thy class =
   let
-    val _ = AxClass.get_definition thy class;
+    val _ = AxClass.get_info thy class;
   in class end;
 
 fun read_class thy raw_class =
   let
     val class = Sign.intern_class thy raw_class;
-    val _ = AxClass.get_definition thy class;
+    val _ = AxClass.get_info thy class;
   in class end;
 
 fun cert_tyco thy tyco =