src/Pure/Tools/named_theorems.ML
changeset 74563 042041c0ebeb
parent 74561 8e6c973003c8
child 77904 e7fd273657f1
equal deleted inserted replaced
74562:8403bd51f8b1 74563:042041c0ebeb
   101 
   101 
   102 (* ML antiquotation *)
   102 (* ML antiquotation *)
   103 
   103 
   104 val _ = Theory.setup
   104 val _ = Theory.setup
   105   (ML_Antiquotation.inline_embedded \<^binding>\<open>named_theorems\<close>
   105   (ML_Antiquotation.inline_embedded \<^binding>\<open>named_theorems\<close>
   106     (Args.context -- Scan.lift Args.embedded_position >>
   106     (Args.context -- Scan.lift Parse.embedded_position >>
   107       (fn (ctxt, name) => ML_Syntax.print_string (check ctxt name))));
   107       (fn (ctxt, name) => ML_Syntax.print_string (check ctxt name))));
   108 
   108 
   109 end;
   109 end;