src/ZF/Datatype.ML
changeset 12183 c10cea75dd56
parent 12175 5cf58a1799a7
child 12203 571d9c288640
--- a/src/ZF/Datatype.ML	Wed Nov 14 18:46:07 2001 +0100
+++ b/src/ZF/Datatype.ML	Wed Nov 14 18:46:30 2001 +0100
@@ -22,11 +22,12 @@
 
 
 structure Data_Package = 
-    Add_datatype_def_Fun
-      (structure Fp=Lfp and Pr=Standard_Prod and CP=Standard_CP
-       and Su=Standard_Sum
-       and Ind_Package = Ind_Package
-       and Datatype_Arg = Data_Arg);
+  Add_datatype_def_Fun
+   (structure Fp=Lfp and Pr=Standard_Prod and CP=Standard_CP
+    and Su=Standard_Sum
+    and Ind_Package = Ind_Package
+    and Datatype_Arg = Data_Arg
+    val coind = false);
 
 
 (*Typechecking rules for most codatatypes involving quniv*)
@@ -42,10 +43,12 @@
   end;
 
 structure CoData_Package = 
-    Add_datatype_def_Fun(structure Fp=Gfp and Pr=Quine_Prod and CP=Quine_CP
-                          and Su=Quine_Sum
-                          and Ind_Package = CoInd_Package
-                          and Datatype_Arg = CoData_Arg);
+  Add_datatype_def_Fun
+   (structure Fp=Gfp and Pr=Quine_Prod and CP=Quine_CP
+    and Su=Quine_Sum
+    and Ind_Package = CoInd_Package
+    and Datatype_Arg = CoData_Arg
+    val coind = true);