src/Pure/Isar/isar_output.ML
changeset 16165 dbe9ee8ffcdd
parent 16142 8eead5356ccb
child 16194 3d192ab9907b
equal deleted inserted replaced
16164:6b0d68207c14 16165:dbe9ee8ffcdd
   392 fun output_ml_idf src ctxt idf = snd (use_text Context.ml_output true idf,
   392 fun output_ml_idf src ctxt idf = snd (use_text Context.ml_output true idf,
   393     output_with (K pretty_text) src ctxt idf);
   393     output_with (K pretty_text) src ctxt idf);
   394 
   394 
   395 val _ = add_commands
   395 val _ = add_commands
   396  [("thm", args Attrib.local_thmss (output_seq_with pretty_thm)),
   396  [("thm", args Attrib.local_thmss (output_seq_with pretty_thm)),
   397   ("thm_style", args ((Scan.lift Args.name) -- Attrib.local_thm) (output_with pretty_thm_style)),
   397   ("thm_style", args ((Scan.lift (Args.name || Args.symbol)) -- Attrib.local_thm) (output_with pretty_thm_style)),
   398   ("prop", args Args.local_prop (output_with pretty_term)),
   398   ("prop", args Args.local_prop (output_with pretty_term)),
   399   ("term", args Args.local_term (output_with pretty_term)),
   399   ("term", args Args.local_term (output_with pretty_term)),
   400   ("term_style", args ((Scan.lift Args.name) -- Args.local_term) (output_with pretty_term_style)),
   400   ("term_style", args ((Scan.lift (Args.name || Args.symbol)) -- Args.local_term) (output_with pretty_term_style)),
   401   ("term_type", args Args.local_term (output_with pretty_term_typ)),
   401   ("term_type", args Args.local_term (output_with pretty_term_typ)),
   402   ("typeof", args Args.local_term (output_with pretty_term_typeof)),
   402   ("typeof", args Args.local_term (output_with pretty_term_typeof)),
   403   ("const", args Args.local_term (output_with pretty_term_const)),
   403   ("const", args Args.local_term (output_with pretty_term_const)),
   404   ("typ", args Args.local_typ_raw (output_with ProofContext.pretty_typ)),
   404   ("typ", args Args.local_typ_raw (output_with ProofContext.pretty_typ)),
   405   ("text", args (Scan.lift Args.name) (output_with (K pretty_text))),
   405   ("text", args (Scan.lift Args.name) (output_with (K pretty_text))),