src/Pure/Isar/class_target.ML
changeset 30764 3e3e7aa0cc7a
parent 30521 3ec2d35b380f
child 31012 751f5aa3e315
equal deleted inserted replaced
30763:6976521b4263 30764:3e3e7aa0cc7a
   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