rep_datatype syntax: 'induction' instead of 'induct';
authorwenzelm
Thu, 22 Apr 1999 13:03:10 +0200
changeset 6479 b0448cab1b1e
parent 6478 48f90bc10cf5
child 6480 c58bc3d2ba0f
rep_datatype syntax: 'induction' instead of 'induct';
src/HOL/Tools/datatype_package.ML
--- a/src/HOL/Tools/datatype_package.ML	Thu Apr 22 12:50:39 1999 +0200
+++ b/src/HOL/Tools/datatype_package.ML	Thu Apr 22 13:03:10 1999 +0200
@@ -686,7 +686,7 @@
   Scan.option (Scan.repeat1 name) --
     Scan.optional ($$$ "distinct" |-- !!! (and_list1 xthms1)) [] --
     Scan.optional ($$$ "inject" |-- !!! (and_list1 xthms1)) [] --
-    ($$$ "induct" |-- !!! xthm);
+    ($$$ "induction" |-- !!! xthm);
 
 fun mk_rep_datatype (((opt_ts, dss), iss), ind) = #1 o rep_datatype opt_ts dss iss ind;
 
@@ -695,7 +695,7 @@
     (rep_datatype_decl >> (Toplevel.theory o mk_rep_datatype));
 
 
-val _ = OuterSyntax.add_keywords ["distinct", "inject", "induct"];
+val _ = OuterSyntax.add_keywords ["distinct", "inject", "induction"];
 val _ = OuterSyntax.add_parsers [datatypeP, rep_datatypeP];
 
 end;