Facts.dest/export_static: content difference;
authorwenzelm
Thu, 12 Jun 2008 16:41:47 +0200
changeset 27173 9ae98c3cd3d6
parent 27172 8236f13be95b
child 27174 c2c484480f40
Facts.dest/export_static: content difference;
src/HOL/Import/shuffler.ML
src/Pure/Isar/find_theorems.ML
src/Pure/Isar/proof_context.ML
--- a/src/HOL/Import/shuffler.ML	Thu Jun 12 15:49:25 2008 +0200
+++ b/src/HOL/Import/shuffler.ML	Thu Jun 12 16:41:47 2008 +0200
@@ -624,7 +624,7 @@
         val shuffles = ShuffleData.get thy
         val ignored = collect_ignored shuffles []
         val all_thms =
-          map (`PureThy.get_name_hint) (maps #2 (Facts.dest_static (PureThy.facts_of thy)))
+          map (`PureThy.get_name_hint) (maps #2 (Facts.dest_static [] (PureThy.facts_of thy)))
     in
         List.filter (match_consts ignored t) all_thms
     end
--- a/src/Pure/Isar/find_theorems.ML	Thu Jun 12 15:49:25 2008 +0200
+++ b/src/Pure/Isar/find_theorems.ML	Thu Jun 12 16:41:47 2008 +0200
@@ -273,8 +273,8 @@
 
 fun all_facts_of ctxt =
   maps Facts.selections
-   (Facts.dest_static (PureThy.facts_of (ProofContext.theory_of ctxt)) @
-    Facts.dest_static (ProofContext.facts_of ctxt));
+   (Facts.dest_static [] (PureThy.facts_of (ProofContext.theory_of ctxt)) @
+    Facts.dest_static [] (ProofContext.facts_of ctxt));
 
 val limit = ref 40;
 
--- a/src/Pure/Isar/proof_context.ML	Thu Jun 12 15:49:25 2008 +0200
+++ b/src/Pure/Isar/proof_context.ML	Thu Jun 12 16:41:47 2008 +0200
@@ -1184,7 +1184,8 @@
     val local_facts = facts_of ctxt;
     val props = Facts.props local_facts;
     val facts =
-      (if null props then [] else [("unnamed", props)]) @ Facts.extern_static local_facts;
+      (if null props then [] else [("unnamed", props)]) @
+      Facts.extern_static [] local_facts;
   in
     if null facts andalso not (! verbose) then []
     else [Pretty.big_list "facts:" (map (pretty_fact ctxt) facts)]