src/HOL/Tools/Quickcheck/find_unused_assms.ML
changeset 46961 5c6955f487e5
parent 46716 c45a4427db39
child 50286 e8b29ddbb61f
equal deleted inserted replaced
46960:f19e5837ad69 46961:5c6955f487e5
   102     @ [Pretty.str "", Pretty.str end_msg])
   102     @ [Pretty.str "", Pretty.str end_msg])
   103   end |> Pretty.chunks |> Pretty.writeln;
   103   end |> Pretty.chunks |> Pretty.writeln;
   104 
   104 
   105 
   105 
   106 val _ =
   106 val _ =
   107   Outer_Syntax.improper_command "find_unused_assms" "find theorems with superfluous assumptions"
   107   Outer_Syntax.improper_command @{command_spec "find_unused_assms"}
   108     Keyword.diag
   108     "find theorems with superfluous assumptions"
   109     (Scan.option Parse.name
   109     (Scan.option Parse.name
   110       >> (fn opt_thy_name =>
   110       >> (fn opt_thy_name =>
   111         Toplevel.no_timing o Toplevel.keep (fn state =>
   111         Toplevel.no_timing o Toplevel.keep (fn state =>
   112           print_unused_assms (Toplevel.context_of state) opt_thy_name)));
   112           print_unused_assms (Toplevel.context_of state) opt_thy_name)));
   113 
   113