src/HOL/Tools/BNF/bnf_lfp.ML
changeset 55529 51998cb9d6b8
parent 55477 6ec4d06297a5
child 55538 6a5986170c1d
equal deleted inserted replaced
55528:c367f4f3e5d4 55529:51998cb9d6b8
  1829 
  1829 
  1830 val _ =
  1830 val _ =
  1831   Outer_Syntax.local_theory @{command_spec "datatype_new"} "define new-style inductive datatypes"
  1831   Outer_Syntax.local_theory @{command_spec "datatype_new"} "define new-style inductive datatypes"
  1832     (parse_co_datatype_cmd Least_FP construct_lfp);
  1832     (parse_co_datatype_cmd Least_FP construct_lfp);
  1833 
  1833 
  1834 val _ = Outer_Syntax.local_theory @{command_spec "primrec_new"}
       
  1835   "define primitive recursive functions"
       
  1836   (Parse.fixes -- Parse_Spec.where_alt_specs >> (snd oo uncurry add_primrec_cmd));
       
  1837 
       
  1838 end;
  1834 end;