diff src/cjr.sml @ 165:e52dfb1e6b19

Datatypes through cjrize, modulo decoding
author Adam Chlipala <adamc@hcoop.net>
date Tue, 29 Jul 2008 13:50:53 -0400
parents f0d3402184d1
children a991431b77eb
line wrap: on
line diff
--- a/src/cjr.sml	Tue Jul 29 13:32:07 2008 -0400
+++ b/src/cjr.sml	Tue Jul 29 13:50:53 2008 -0400
@@ -56,6 +56,7 @@
 
 datatype decl' =
          DStruct of int * (string * typ) list
+       | DDatatype of string * int * (string * int * typ option) list
        | DVal of string * int * typ * exp
        | DFun of string * int * (string * typ) list * typ * exp
        | DFunRec of (string * int * (string * typ) list * typ * exp) list