equal
deleted
inserted
replaced
678 |
678 |
679 |
679 |
680 (* outer syntax *) |
680 (* outer syntax *) |
681 |
681 |
682 val _ = |
682 val _ = |
683 Outer_Syntax.command @{command_spec "old_rep_datatype"} |
683 Outer_Syntax.command @{command_keyword old_rep_datatype} |
684 "register existing types as old-style datatypes" |
684 "register existing types as old-style datatypes" |
685 (Scan.repeat1 Parse.term >> (fn ts => |
685 (Scan.repeat1 Parse.term >> (fn ts => |
686 Toplevel.theory_to_proof (rep_datatype_cmd Old_Datatype_Aux.default_config (K I) ts))); |
686 Toplevel.theory_to_proof (rep_datatype_cmd Old_Datatype_Aux.default_config (K I) ts))); |
687 |
687 |
688 end; |
688 end; |