equal
deleted
inserted
replaced
136 fun prt_fact (ths, []) = map prt_thm ths |
136 fun prt_fact (ths, []) = map prt_thm ths |
137 | prt_fact (ths, atts) = Pretty.enclose "(" ")" |
137 | prt_fact (ths, atts) = Pretty.enclose "(" ")" |
138 (Pretty.breaks (map prt_thm ths)) :: Attrib.pretty_attribs ctxt atts; |
138 (Pretty.breaks (map prt_thm ths)) :: Attrib.pretty_attribs ctxt atts; |
139 |
139 |
140 fun prt_bundle (name, bundle) = |
140 fun prt_bundle (name, bundle) = |
141 Pretty.block (Pretty.command "bundle" :: Pretty.str " " :: Pretty.str name :: |
141 Pretty.block (Pretty.command "bundle" :: Pretty.str " " :: Pretty.mark_str name :: |
142 Pretty.breaks (Pretty.str " =" :: maps prt_fact bundle)); |
142 Pretty.breaks (Pretty.str " =" :: maps prt_fact bundle)); |
143 in |
143 in |
144 map prt_bundle (Name_Space.extern_table ctxt (get_bundles ctxt)) |
144 map prt_bundle (Name_Space.extern_table ctxt (get_bundles ctxt)) |
145 end |> Pretty.chunks |> Pretty.writeln; |
145 end |> Pretty.chunks |> Pretty.writeln; |
146 |
146 |