doc-src/more_antiquote.ML
changeset 38917 c7da3cc88135
parent 38767 d8da44a8dd25
child 38921 15f8cffdbf5d
equal deleted inserted replaced
38916:c0b857a04758 38917:c7da3cc88135
   128   (fn {context = ctxt, ...} => fn ((mk_cs, mk_stmtss), target) =>
   128   (fn {context = ctxt, ...} => fn ((mk_cs, mk_stmtss), target) =>
   129     let val thy = ProofContext.theory_of ctxt in
   129     let val thy = ProofContext.theory_of ctxt in
   130       Code_Target.code_of thy
   130       Code_Target.code_of thy
   131         target NONE "Example" (mk_cs thy)
   131         target NONE "Example" (mk_cs thy)
   132         (fn naming => maps (fn f => f thy naming) mk_stmtss)
   132         (fn naming => maps (fn f => f thy naming) mk_stmtss)
       
   133       |> fst
   133       |> typewriter
   134       |> typewriter
   134     end);
   135     end);
   135 
   136 
   136 end;
   137 end;
   137 
   138