summaryrefslogtreecommitdiff
path: root/src/source.sml
diff options
context:
space:
mode:
Diffstat (limited to 'src/source.sml')
-rw-r--r--src/source.sml7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/source.sml b/src/source.sml
index 386b1a83..7e204390 100644
--- a/src/source.sml
+++ b/src/source.sml
@@ -131,7 +131,14 @@ datatype exp' =
| ECase of exp * (pat * exp) list
+ | ELet of edecl list * exp
+
+and edecl' =
+ EDVal of string * con option * exp
+ | EDValRec of (string * con option * exp) list
+
withtype exp = exp' located
+and edecl = edecl' located
datatype decl' =
DCon of string * kind option * con