--- 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)]