src/Pure/tactic.ML
changeset 12262 11ff5f47df6e
parent 12212 657ad5edeab6
child 12320 6e70d870ddf0
--- a/src/Pure/tactic.ML	Wed Nov 21 00:35:13 2001 +0100
+++ b/src/Pure/tactic.ML	Wed Nov 21 00:36:51 2001 +0100
@@ -124,7 +124,7 @@
 fun trace_goalno_tac tac i st =
     case Seq.pull(tac i st) of
         None    => Seq.empty
-      | seqcell => (writeln ("Subgoal " ^ string_of_int i ^ " selected");
+      | seqcell => (tracing ("Subgoal " ^ string_of_int i ^ " selected");
                          Seq.make(fn()=> seqcell));
 
 (*Makes a rule by applying a tactic to an existing rule*)
@@ -285,8 +285,8 @@
   if i > nprems_of st then no_tac st
   else st |>
     (compose_tac (bires_flg, lift_inst_rule (st, i, sinsts, rule), nsubgoal) i
-     handle TERM (msg,_)   => (writeln msg;  no_tac)
-          | THM  (msg,_,_) => (writeln msg;  no_tac));
+     handle TERM (msg,_)   => (warning msg;  no_tac)
+          | THM  (msg,_,_) => (warning msg;  no_tac));
 
 (*"Resolve" version.  Note: res_inst_tac cannot behave sensibly if the
   terms that are substituted contain (term or type) unknowns from the