src/HOL/BNF/Tools/bnf_lfp.ML
changeset 55150 38c0bbb8348b
parent 54705 f9456284048f
child 55162 70bc41e7a91e
equal deleted inserted replaced
55149:7a8263843acb 55150:38c0bbb8348b
  1887   Outer_Syntax.local_theory @{command_spec "datatype_new"} "define BNF-based inductive datatypes"
  1887   Outer_Syntax.local_theory @{command_spec "datatype_new"} "define BNF-based inductive datatypes"
  1888     (parse_co_datatype_cmd Least_FP construct_lfp);
  1888     (parse_co_datatype_cmd Least_FP construct_lfp);
  1889 
  1889 
  1890 val _ = Outer_Syntax.local_theory @{command_spec "primrec_new"}
  1890 val _ = Outer_Syntax.local_theory @{command_spec "primrec_new"}
  1891   "define primitive recursive functions"
  1891   "define primitive recursive functions"
  1892   (Parse.fixes -- Parse_Spec.where_alt_specs >> uncurry add_primrec_cmd);
  1892   (Parse.fixes -- Parse_Spec.where_alt_specs >> (snd oo uncurry add_primrec_cmd));
  1893 
  1893 
  1894 end;
  1894 end;