adapted to new implicit claset;
authorwenzelm
Mon, 03 Nov 1997 12:28:14 +0100
changeset 4095 6fd0f439e50e
parent 4094 9e501199ec01
child 4096 8cdf672a83e8
adapted to new implicit claset;
src/FOL/cladata.ML
--- a/src/FOL/cladata.ML	Mon Nov 03 12:28:01 1997 +0100
+++ b/src/FOL/cladata.ML	Mon Nov 03 12:28:14 1997 +0100
@@ -45,26 +45,8 @@
 val FOL_cs = prop_cs addSIs [allI,ex_ex1I] addIs [exI] 
                      addSEs [exE,alt_ex1E] addEs [allE];
 
-
-exception CS_DATA of claset;
-
-let fun merge [] = CS_DATA empty_cs
-      | merge cs = let val cs = map (fn CS_DATA x => x) cs;
-                   in CS_DATA (foldl merge_cs (hd cs, tl cs)) end;
-
-    fun put (CS_DATA cs) = claset := cs;
+claset_ref() := FOL_cs;
 
-    fun get () = CS_DATA (!claset);
-in add_thydata "FOL"
-     ("claset", ThyMethods {merge = merge, put = put, get = get})
-end;
-
-claset := FOL_cs;
-
-fun claset_of tname =
-  case get_thydata tname "claset" of
-      None => empty_cs
-    | Some (CS_DATA cs) => cs;
 
 (*** Applying BlastFun to create Blast_tac ***)
 structure Blast_Data =