equal
deleted
inserted
replaced
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 |