equal
deleted
inserted
replaced
60 fun warn_ml name = |
60 fun warn_ml name = |
61 if is_ml_identifier name then false |
61 if is_ml_identifier name then false |
62 else if name = "" then true |
62 else if name = "" then true |
63 else (warning ("Cannot bind theorem(s) " ^ quote name ^ " as ML value"); true); |
63 else (warning ("Cannot bind theorem(s) " ^ quote name ^ " as ML value"); true); |
64 |
64 |
65 val use_text_verbose = use_text Context.ml_output true; |
65 val use_text_verbose = use_text Output.ml_output true; |
66 |
66 |
67 fun ml_store_thm (name, thm) = |
67 fun ml_store_thm (name, thm) = |
68 let val thm' = store_thm (name, thm) in |
68 let val thm' = store_thm (name, thm) in |
69 if warn_ml name then () |
69 if warn_ml name then () |
70 else (qed_thms := [thm']; |
70 else (qed_thms := [thm']; |