src/ZF/ROOT.ML
changeset 516 1957113f0d7d
parent 488 52f7447d4f1b
child 532 851df239ac8b
--- a/src/ZF/ROOT.ML	Fri Aug 12 12:28:46 1994 +0200
+++ b/src/ZF/ROOT.ML	Fri Aug 12 12:51:34 1994 +0200
@@ -28,8 +28,20 @@
 
 print_depth 1;
 
+(*Add user sections for inductive/datatype definitions*)
+use_thy "Datatype";
+structure ThySyn = ThySynFun
+ (val user_keywords = ["inductive", "coinductive", "datatype", "codatatype", 
+		       "and", "|", "<=", "domains", "intrs", "monos", 
+		       "con_defs", "type_intrs", "type_elims"] 
+  and user_sections = [("inductive",  inductive_decl ""),
+		       ("coinductive",  inductive_decl "Co"),
+		       ("datatype",  datatype_decl ""),
+		       ("codatatype",  datatype_decl "Co")]);
+init_thy_reader ();
+
 use_thy "InfDatatype";
-use_thy "ListFn";
+use_thy "List";
 
 (*printing functions are inherited from FOL*)
 print_depth 8;