src/Pure/Isar/method.ML
changeset 21962 279b129498b6
parent 21879 a3efbae45735
child 22086 cf6019fece63
--- a/src/Pure/Isar/method.ML	Sat Dec 30 12:41:59 2006 +0100
+++ b/src/Pure/Isar/method.ML	Sat Dec 30 16:08:00 2006 +0100
@@ -246,9 +246,10 @@
 val trace_rules = ref false;
 
 fun trace ctxt rules =
-  conditional (! trace_rules andalso not (null rules)) (fn () =>
+  if ! trace_rules andalso not (null rules) then
     Pretty.big_list "rules:" (map (ProofContext.pretty_thm ctxt) rules)
-    |> Pretty.string_of |> tracing);
+    |> Pretty.string_of |> tracing
+  else ();
 
 local