equal
deleted
inserted
replaced
220 |
220 |
221 (*Extract from a tactic, a thm->thm seq function that handles tracing*) |
221 (*Extract from a tactic, a thm->thm seq function that handles tracing*) |
222 fun tracify flag tac st = |
222 fun tracify flag tac st = |
223 if !flag andalso not (!suppress_tracing) then |
223 if !flag andalso not (!suppress_tracing) then |
224 (tracing (Pretty.string_of (Pretty.chunks |
224 (tracing (Pretty.string_of (Pretty.chunks |
225 (Goal_Display.pretty_goals_without_context st @ |
225 (Goal_Display.pretty_goals (Syntax.init_pretty_global (Thm.theory_of_thm st)) st @ |
226 [Pretty.str "** Press RETURN to continue:"]))); |
226 [Pretty.str "** Press RETURN to continue:"]))); |
227 exec_trace_command flag (tac, st)) |
227 exec_trace_command flag (tac, st)) |
228 else tac st; |
228 else tac st; |
229 |
229 |
230 (*Create a tactic whose outcome is given by seqf, handling TRACE_EXIT*) |
230 (*Create a tactic whose outcome is given by seqf, handling TRACE_EXIT*) |