src/Pure/Isar/new_locale.ML
changeset 29220 db37b657a326
parent 29218 f7ffe90879e2
child 29222 1ec081e2eae9
equal deleted inserted replaced
29219:fa3fb943a091 29220:db37b657a326
   373   let
   373   let
   374     val name' = intern thy name;
   374     val name' = intern thy name;
   375     val ctxt = init name' thy
   375     val ctxt = init name' thy
   376   in
   376   in
   377     Pretty.big_list "locale elements:"
   377     Pretty.big_list "locale elements:"
   378       (activate_all name' thy (cons_elem show_facts) (K Morphism.identity) (empty, []) |>
   378       (activate_all name' thy (cons_elem show_facts) (K (Element.transfer_morphism thy))
   379         snd |> rev |> 
   379         (empty, []) |> snd |> rev |> 
   380         map (Element.pretty_ctxt ctxt) |> map Pretty.chunks) |> Pretty.writeln
   380         map (Element.pretty_ctxt ctxt) |> map Pretty.chunks) |> Pretty.writeln
   381   end
   381   end
   382 
   382 
   383 end;
   383 end;
   384 
   384