src/HOL/Tools/res_atp.ML
changeset 30364 577edc39b501
parent 30291 a1c3abf57068
child 30536 07b4f050e4df
--- a/src/HOL/Tools/res_atp.ML	Sun Mar 08 17:19:15 2009 +0100
+++ b/src/HOL/Tools/res_atp.ML	Sun Mar 08 17:26:14 2009 +0100
@@ -303,7 +303,7 @@
 (*Reject theorems with names like "List.filter.filter_list_def" or
   "Accessible_Part.acc.defs", as these are definitions arising from packages.*)
 fun is_package_def a =
-  let val names = NameSpace.explode a
+  let val names = Long_Name.explode a
   in
      length names > 2 andalso
      not (hd names = "local") andalso
@@ -378,7 +378,7 @@
 
 (*Ignore blacklisted basenames*)
 fun add_multi_names ((a, ths), pairs) =
-  if (NameSpace.base_name a) mem_string ResAxioms.multi_base_blacklist  then pairs
+  if (Long_Name.base_name a) mem_string ResAxioms.multi_base_blacklist  then pairs
   else add_single_names ((a, ths), pairs);
 
 fun is_multi (a, ths) = length ths > 1 orelse String.isSuffix ".axioms" a;