Facts.dest_static;
authorwenzelm
Wed Apr 16 21:52:58 2008 +0200 (2008-04-16)
changeset 26690e30b8d500c7d
parent 26689 105031879f4a
child 26691 520c99e0b9a0
Facts.dest_static;
src/HOL/Import/shuffler.ML
src/Pure/Isar/find_theorems.ML
src/Tools/code/code_package.ML
     1.1 --- a/src/HOL/Import/shuffler.ML	Wed Apr 16 20:43:31 2008 +0200
     1.2 +++ b/src/HOL/Import/shuffler.ML	Wed Apr 16 21:52:58 2008 +0200
     1.3 @@ -624,7 +624,7 @@
     1.4          val shuffles = ShuffleData.get thy
     1.5          val ignored = collect_ignored shuffles []
     1.6          val all_thms =
     1.7 -          map (`PureThy.get_name_hint) (maps #2 (Facts.dest_table (PureThy.facts_of thy)))
     1.8 +          map (`PureThy.get_name_hint) (maps #2 (Facts.dest_static (PureThy.facts_of thy)))
     1.9      in
    1.10          List.filter (match_consts ignored t) all_thms
    1.11      end
     2.1 --- a/src/Pure/Isar/find_theorems.ML	Wed Apr 16 20:43:31 2008 +0200
     2.2 +++ b/src/Pure/Isar/find_theorems.ML	Wed Apr 16 21:52:58 2008 +0200
     2.3 @@ -273,8 +273,8 @@
     2.4  
     2.5  fun all_facts_of ctxt =
     2.6    maps Facts.selections
     2.7 -   (Facts.dest_table (PureThy.facts_of (ProofContext.theory_of ctxt)) @
     2.8 -    Facts.dest_table (ProofContext.facts_of ctxt));
     2.9 +   (Facts.dest_static (PureThy.facts_of (ProofContext.theory_of ctxt)) @
    2.10 +    Facts.dest_static (ProofContext.facts_of ctxt));
    2.11  
    2.12  val limit = ref 40;
    2.13  
     3.1 --- a/src/Tools/code/code_package.ML	Wed Apr 16 20:43:31 2008 +0200
     3.2 +++ b/src/Tools/code/code_package.ML	Wed Apr 16 21:52:58 2008 +0200
     3.3 @@ -223,7 +223,7 @@
     3.4          val propdef = (((c, ty), tfree_vars @ map Free vars), t);
     3.5        in if c = "" then NONE else SOME (thmref, propdef) end;
     3.6    in
     3.7 -    Facts.dest_table (PureThy.facts_of thy)
     3.8 +    Facts.dest_static (PureThy.facts_of thy)
     3.9      |> maps Facts.selections
    3.10      |> map_filter select
    3.11      |> map_filter mk_codeprop