equal
deleted
inserted
replaced
285 |> ClassData.map (Graph.add_edge (sub, sup)) |
285 |> ClassData.map (Graph.add_edge (sub, sup)) |
286 |> activate_defs sub (these_defs thy diff_sort) |
286 |> activate_defs sub (these_defs thy diff_sort) |
287 |> fold (fn dep_morph => Locale.add_dependency sub (sup, |
287 |> fold (fn dep_morph => Locale.add_dependency sub (sup, |
288 dep_morph $> Element.satisfy_morphism (the_list some_wit) $> export)) |
288 dep_morph $> Element.satisfy_morphism (the_list some_wit) $> export)) |
289 (the_list some_dep_morph) |
289 (the_list some_dep_morph) |
290 |> (fn thy => fold_rev Locale.activate_global_facts |
290 |> (fn thy => fold_rev (Context.theory_map o Locale.activate_facts) |
291 (Locale.get_registrations thy) thy) |
291 (Locale.get_registrations thy) thy) |
292 end; |
292 end; |
293 |
293 |
294 |
294 |
295 (** classes and class target **) |
295 (** classes and class target **) |
296 |
296 |