summaryrefslogtreecommitdiff
path: root/src/elab.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-11-01 11:17:29 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-11-01 11:17:29 -0400
commit3c78af90b54d01c97ab75fd7290281dfb96921ee (patch)
tree60d3ec0e0ab4ba36e8ad9396aad35e05d4725153 /src/elab.sml
parent70232ad319a6d86aa1302976919e4c1b126a36f8 (diff)
Elaborating 'let'
Diffstat (limited to 'src/elab.sml')
-rw-r--r--src/elab.sml7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/elab.sml b/src/elab.sml
index 4202d367..b5350c2a 100644
--- a/src/elab.sml
+++ b/src/elab.sml
@@ -117,7 +117,14 @@ datatype exp' =
| EError
| EUnif of exp option ref
+ | ELet of edecl list * exp
+
+and edecl' =
+ EDVal of string * con * exp
+ | EDValRec of (string * con * exp) list
+
withtype exp = exp' located
+ and edecl = edecl' located
datatype sgn_item' =
SgiConAbs of string * int * kind