src/Pure/Tools/find_theorems.ML
changeset 50214 67fb9a168d10
parent 49888 ff2063be8227
child 50217 ce1f0602f48e
equal deleted inserted replaced
50213:7b73c0509835 50214:67fb9a168d10
   623 
   623 
   624 val query_parser = Scan.repeat (((Scan.option Parse.minus >> is_none) -- criterion));
   624 val query_parser = Scan.repeat (((Scan.option Parse.minus >> is_none) -- criterion));
   625 
   625 
   626 val _ =
   626 val _ =
   627   Outer_Syntax.improper_command @{command_spec "find_theorems"}
   627   Outer_Syntax.improper_command @{command_spec "find_theorems"}
   628     "print theorems meeting specified criteria"
   628     "find theorems meeting specified criteria"
   629     (options -- query_parser
   629     (options -- query_parser
   630       >> (fn ((opt_lim, rem_dups), spec) =>
   630       >> (fn ((opt_lim, rem_dups), spec) =>
   631         Toplevel.no_timing o
   631         Toplevel.no_timing o
   632         Toplevel.keep (fn state =>
   632         Toplevel.keep (fn state =>
   633           let
   633           let