equal
deleted
inserted
replaced
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; |