src/HOL/Tools/Old_Datatype/old_rep_datatype.ML
changeset 59936 b8ffc3dc9e24
parent 59880 30687c3f2b10
child 60774 6c28d8ed2488
equal deleted inserted replaced
59935:343905de27b1 59936:b8ffc3dc9e24
   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;