src/Pure/Isar/attrib.ML
changeset 30190 479806475f3c
parent 29690 c81f8b2967e1
child 30211 556d1810cdad
equal deleted inserted replaced
30189:3633f560f4c3 30190:479806475f3c
   196         >> (fn (fact, sel) => (name, Facts.Named ((name, pos), sel), fact))))
   196         >> (fn (fact, sel) => (name, Facts.Named ((name, pos), sel), fact))))
   197     -- Args.opt_attribs (intern thy) >> (fn ((name, thmref, fact), srcs) =>
   197     -- Args.opt_attribs (intern thy) >> (fn ((name, thmref, fact), srcs) =>
   198       let
   198       let
   199         val ths = Facts.select thmref fact;
   199         val ths = Facts.select thmref fact;
   200         val atts = map (attribute_i thy) srcs;
   200         val atts = map (attribute_i thy) srcs;
   201         val (context', ths') = foldl_map (Library.apply atts) (context, ths);
   201         val (context', ths') = Library.foldl_map (Library.apply atts) (context, ths);
   202       in (context', pick name ths') end)
   202       in (context', pick name ths') end)
   203   end);
   203   end);
   204 
   204 
   205 in
   205 in
   206 
   206