NameSpace.extern_table;
authorwenzelm
Thu, 09 Jun 2005 12:03:33 +0200
changeset 16346 baa7b5324fc1
parent 16345 b035482bed02
child 16347 9b3265182607
NameSpace.extern_table; ProofContext.extern_thm;
src/Pure/Isar/locale.ML
--- a/src/Pure/Isar/locale.ML	Thu Jun 09 12:03:32 2005 +0200
+++ b/src/Pure/Isar/locale.ML	Thu Jun 09 12:03:33 2005 +0200
@@ -343,7 +343,7 @@
      Symtab.join (SOME o Registrations.join) (regs1, regs2));
 
   fun print _ (space, locs, _) =
-    Pretty.strs ("locales:" :: map (NameSpace.extern space o #1) (Symtab.dest locs))
+    Pretty.strs ("locales:" :: map #1 (NameSpace.extern_table (space, locs)))
     |> Pretty.writeln;
 end;
 
@@ -1486,7 +1486,7 @@
       | prt_fix (x, NONE, syn) = Pretty.block (Pretty.str x :: Pretty.brk 1 :: prt_syn syn);
     fun prt_cst (x, T) = Pretty.block [Pretty.str (x ^ " ::"), prt_typ T];
 
-    fun prt_name name = Pretty.str (ProofContext.extern ctxt name);
+    fun prt_name name = Pretty.str (ProofContext.extern_thm ctxt name);
     fun prt_name_atts (name, atts) =
       if name = "" andalso null atts then []
       else [Pretty.block (Pretty.breaks (prt_name name :: prt_atts atts @ [Pretty.str ":"]))];