diff src/mono.sml @ 164:6847741e1f5f

Datatypes through monoize
author Adam Chlipala <adamc@hcoop.net>
date Tue, 29 Jul 2008 13:32:07 -0400
parents f0d3402184d1
children 25b169416ea8
line wrap: on
line diff
--- a/src/mono.sml	Tue Jul 29 13:16:21 2008 -0400
+++ b/src/mono.sml	Tue Jul 29 13:32:07 2008 -0400
@@ -60,7 +60,8 @@
 withtype exp = exp' located
 
 datatype decl' =
-         DVal of string * int * typ * exp * string
+         DDatatype of string * int * (string * int * typ option) list
+       | DVal of string * int * typ * exp * string
        | DValRec of (string * int * typ * exp * string) list
        | DExport of Core.export_kind * string * int * typ list