src/Pure/Isar/locale.ML
changeset 56052 4873054cd1fc
parent 56025 d74fed45fa8b
child 56140 ed92ce2ac88e
equal deleted inserted replaced
56051:c3681b9e060f 56052:4873054cd1fc
   633 fun print_locales thy =
   633 fun print_locales thy =
   634   Pretty.block
   634   Pretty.block
   635     (Pretty.breaks
   635     (Pretty.breaks
   636       (Pretty.str "locales:" ::
   636       (Pretty.str "locales:" ::
   637         map (Pretty.mark_str o #1)
   637         map (Pretty.mark_str o #1)
   638           (Name_Space.extern_table (Proof_Context.init_global thy) (Locales.get thy))))
   638           (Name_Space.markup_table (Proof_Context.init_global thy) (Locales.get thy))))
   639   |> Pretty.writeln;
   639   |> Pretty.writeln;
   640 
   640 
   641 fun pretty_locale thy show_facts name =
   641 fun pretty_locale thy show_facts name =
   642   let
   642   let
   643     val locale_ctxt = init name thy;
   643     val locale_ctxt = init name thy;