src/HOL/Tools/Predicate_Compile/predicate_compile.ML
changeset 58893 9e0ecb66d6a7
parent 58823 513268cb2178
child 59205 663794ab87e6
equal deleted inserted replaced
58892:20aa19ecf2cc 58893:9e0ecb66d6a7
   285   Outer_Syntax.local_theory_to_proof @{command_spec "code_pred"}
   285   Outer_Syntax.local_theory_to_proof @{command_spec "code_pred"}
   286     "prove equations for predicate specified by intro/elim rules"
   286     "prove equations for predicate specified by intro/elim rules"
   287     (opt_expected_modes -- opt_modes -- scan_options -- Parse.term >> code_pred_cmd)
   287     (opt_expected_modes -- opt_modes -- scan_options -- Parse.term >> code_pred_cmd)
   288 
   288 
   289 val _ =
   289 val _ =
   290   Outer_Syntax.improper_command @{command_spec "values"}
   290   Outer_Syntax.command @{command_spec "values"}
   291     "enumerate and print comprehensions"
   291     "enumerate and print comprehensions"
   292     (opt_print_modes -- opt_param_modes -- value_options -- Scan.optional Parse.nat ~1 -- Parse.term
   292     (opt_print_modes -- opt_param_modes -- value_options -- Scan.optional Parse.nat ~1 -- Parse.term
   293       >> (fn ((((print_modes, param_modes), options), k), t) => Toplevel.keep
   293       >> (fn ((((print_modes, param_modes), options), k), t) => Toplevel.keep
   294           (Predicate_Compile_Core.values_cmd print_modes param_modes options k t)))
   294           (Predicate_Compile_Core.values_cmd print_modes param_modes options k t)))
   295 
   295