aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/source.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-05-16 15:14:17 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-05-16 15:14:17 -0400
commit0159bec5067ac88f3f222595ac6f5e2f94c1d41f (patch)
tree6d35712f3fc54d19a3d1a605a45840ded71a914e /src/source.sml
parentc28e1690efd89b7629bfdc81d5dee2d3d37952ca (diff)
Mutual datatypes through Elaborate
Diffstat (limited to 'src/source.sml')
-rw-r--r--src/source.sml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/source.sml b/src/source.sml
index 9d3eea79..0f62cadd 100644
--- a/src/source.sml
+++ b/src/source.sml
@@ -85,7 +85,7 @@ datatype inference =
datatype sgn_item' =
SgiConAbs of string * kind
| SgiCon of string * kind option * con
- | SgiDatatype of string * string list * (string * con option) list
+ | SgiDatatype of (string * string list * (string * con option) list) list
| SgiDatatypeImp of string * string list * string
| SgiVal of string * con
| SgiTable of string * con * exp * exp
@@ -148,7 +148,7 @@ and edecl = edecl' located
datatype decl' =
DCon of string * kind option * con
- | DDatatype of string * string list * (string * con option) list
+ | DDatatype of (string * string list * (string * con option) list) list
| DDatatypeImp of string * string list * string
| DVal of string * con option * exp
| DValRec of (string * con option * exp) list