src/Pure/Tools/named_thms.ML
changeset 39557 fe5722fce758
parent 36296 5cc547abd995
child 45294 3c5d3d286055
equal deleted inserted replaced
39556:32a00ff29d1a 39557:fe5722fce758
    37 val add = Thm.declaration_attribute add_thm;
    37 val add = Thm.declaration_attribute add_thm;
    38 val del = Thm.declaration_attribute del_thm;
    38 val del = Thm.declaration_attribute del_thm;
    39 
    39 
    40 val setup =
    40 val setup =
    41   Attrib.setup (Binding.name name) (Attrib.add_del add del) ("declaration of " ^ description) #>
    41   Attrib.setup (Binding.name name) (Attrib.add_del add del) ("declaration of " ^ description) #>
    42   PureThy.add_thms_dynamic (Binding.name name, content);
    42   Global_Theory.add_thms_dynamic (Binding.name name, content);
    43 
    43 
    44 end;
    44 end;