adapted add_inductive, add_record;
authorwenzelm
Tue, 27 Apr 1999 10:51:16 +0200
changeset 6523 c84935821ba0
parent 6522 2f6cec5c046f
child 6524 13410ecfce0b
adapted add_inductive, add_record;
src/HOL/thy_syntax.ML
--- a/src/HOL/thy_syntax.ML	Tue Apr 27 10:50:50 1999 +0200
+++ b/src/HOL/thy_syntax.ML	Tue Apr 27 10:51:16 1999 +0200
@@ -55,7 +55,7 @@
         \local\n\
         \val (thy, {defs, mono, unfold, intrs, elims, mk_cases, induct, ...}) =\n\
         \  InductivePackage.add_inductive true " ^
-        (if coind then "true " else "false ") ^ srec_tms ^ " " ^
+        (if coind then "true " else "false ") ^ srec_tms ^ " [] " ^
          sintrs ^ " " ^ mk_list (no_atts monos) ^ " " ^ mk_list (no_atts con_defs) ^ " thy;\n\
         \in\n\
         \structure " ^ big_rec_name ^ " =\n\
@@ -280,7 +280,7 @@
  ["intrs", "monos", "con_defs", "congs", "simpset", "|",
   "and", "distinct", "inject", "induct", "??"]
  [axm_section "typedef" "|> TypedefPackage.add_typedef" typedef_decl,
-  section "record" "|> RecordPackage.add_record" record_decl,
+  section "record" "|> (#1 oooo RecordPackage.add_record)" record_decl,
   section "inductive" 	"" (inductive_decl false),
   section "coinductive"	"" (inductive_decl true),
   section "datatype" 	"" datatype_decl,