summaryrefslogtreecommitdiff
path: root/src/cjr.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-08-09 16:48:32 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-08-09 16:48:32 -0400
commit3e59b823392701f538f972d689d04b0182696e51 (patch)
tree5a4f935084c734ee1634b76abe5d2d5f1abf8bcc /src/cjr.sml
parente699687ba2ff0cc2c7c185c4d99669f77093473b (diff)
Lists all the way through
Diffstat (limited to 'src/cjr.sml')
-rw-r--r--src/cjr.sml3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cjr.sml b/src/cjr.sml
index d9dc51c1..cda7245a 100644
--- a/src/cjr.sml
+++ b/src/cjr.sml
@@ -35,7 +35,7 @@ datatype typ' =
TTop
| TFun of typ * typ
| TRecord of int
- | TDatatype of datatype_kind * int * (string * int * typ option) list
+ | TDatatype of datatype_kind * int * (string * int * typ option) list ref
| TFfi of string * string
withtype typ = typ' located
@@ -75,6 +75,7 @@ withtype exp = exp' located
datatype decl' =
DStruct of int * (string * typ) list
| DDatatype of datatype_kind * string * int * (string * int * typ option) list
+ | DDatatypeForward of datatype_kind * string * int
| 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