# HG changeset patch # User wenzelm # Date 1175638281 -7200 # Node ID 4a859d13ef836ff4b6d6b45af0c4b127a32c0354 # Parent 5454b06320fb5774eb7b4ec9bc346f0fe24ff49b removed unused info channel; diff -r 5454b06320fb -r 4a859d13ef83 src/Pure/Isar/toplevel.ML --- a/src/Pure/Isar/toplevel.ML Wed Apr 04 00:11:20 2007 +0200 +++ b/src/Pure/Isar/toplevel.ML Wed Apr 04 00:11:21 2007 +0200 @@ -666,7 +666,7 @@ if not int andalso int_only then warning (command_msg "Interactive-only " tr) else (); - fun do_timing f x = (Output.info (command_msg "" tr); timeap f x); + fun do_timing f x = (warning (command_msg "" tr); timeap f x); fun do_profiling f x = profile (! profiling) f x; val (result, opt_exn) = diff -r 5454b06320fb -r 4a859d13ef83 src/Pure/Tools/class_package.ML --- a/src/Pure/Tools/class_package.ML Wed Apr 04 00:11:20 2007 +0200 +++ b/src/Pure/Tools/class_package.ML Wed Apr 04 00:11:21 2007 +0200 @@ -622,7 +622,7 @@ val tfrees = map string_of_tfree (Term.add_tfrees t []); val tvars = map string_of_tvar (Term.add_tvars t []); in term :: tfrees @ tvars end; - in (map Output.info (print_term t); map Output.info (print_term prop)) end; + in (map warning (print_term t); map warning (print_term prop)) end; fun add_def_in_class lthy class ((c, syn), ((name, atts), (rhs, eq))) thy = let @@ -643,28 +643,28 @@ thy |> PureThy.add_defs_i false [((name, prop), map (Attrib.attribute thy) atts)] |>> the_single; - val _ = Output.info "------ DEF ------"; - val _ = Output.info c; - val _ = Output.info name; - val _ = (Output.info o Sign.string_of_term thy) rhs'; + val _ = warning "------ DEF ------"; + val _ = warning c; + val _ = warning name; + val _ = (warning o Sign.string_of_term thy) rhs'; val eq' = Morphism.thm (LocalTheory.target_morphism lthy) eq; - val _ = (Output.info o string_of_thm) eq; - val _ = (Output.info o string_of_thm) eq'; + val _ = (warning o string_of_thm) eq; + val _ = (warning o string_of_thm) eq'; val witness = the_witness thy class; - val _ = Output.info "------ WIT ------"; + val _ = warning "------ WIT ------"; fun print_wit (t, thm) = "(" ^ Sign.string_of_term thy t ^ ", " ^ Display.string_of_thm thm ^ ")" fun print_raw_wit (t, thm) = "(" ^ Display.raw_string_of_term t ^ ", " ^ (Display.raw_string_of_term o Thm.prop_of) thm ^ ")" - val _ = (Output.info o cat_lines o map (print_wit o Element.dest_witness)) witness; + val _ = (warning o cat_lines o map (print_wit o Element.dest_witness)) witness; val _ = map print_witness witness; - val _ = (Output.info o string_of_thm) eq'; + val _ = (warning o string_of_thm) eq'; val eq'' = Element.satisfy_thm witness eq'; - val _ = (Output.info o string_of_thm) eq''; + val _ = (warning o string_of_thm) eq''; in thy |> Sign.add_path prfx |> add_const (c, ty, syn') |-> (fn c => add_def ((name, atts), Logic.mk_equals (Const c, rhs'))) - |-> (fn global_def_thm => tap (fn _ => (Output.info o string_of_thm) global_def_thm)) + |-> (fn global_def_thm => tap (fn _ => (warning o string_of_thm) global_def_thm)) |> Sign.restore_naming thy end;