tuned thy_data;
authorwenzelm
Thu, 30 Oct 1997 17:04:54 +0100
changeset 4049 b2a70d318df2
parent 4048 b9fd385981bd
child 4050 543df9687d7b
tuned thy_data;
src/Pure/pure_thy.ML
--- a/src/Pure/pure_thy.ML	Thu Oct 30 17:01:50 1997 +0100
+++ b/src/Pure/pure_thy.ML	Thu Oct 30 17:04:54 1997 +0100
@@ -36,7 +36,7 @@
 
 (** data kind theorems **)
 
-val theorems = "theorems";
+val theoremsK = "theorems";
 
 exception Theorems of
  {space: NameSpace.T,
@@ -69,7 +69,7 @@
 
 in
 
-val theorems_methods = (mk_empty (), mk_empty, mk_empty, print);
+val theorems_data = (theoremsK, (mk_empty (), mk_empty, mk_empty, print));
 
 end;
 
@@ -77,7 +77,7 @@
 (* get data record *)
 
 fun get_theorems_sg sg =
-  (case Sign.get_data sg theorems of
+  (case Sign.get_data sg theoremsK of
     Theorems r => r
   | _ => sys_error "get_theorems_sg");
 
@@ -244,7 +244,7 @@
 
 val proto_pure =
   Theory.pre_pure
-  |> Theory.init_data theorems theorems_methods
+  |> Theory.init_data [theorems_data]
   |> Theory.add_types
    (("fun", 2, NoSyn) ::
     ("prop", 0, NoSyn) ::