summaryrefslogtreecommitdiff
path: root/src/elab.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-05-28 12:07:05 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-05-28 12:07:05 -0400
commita735f6ea0ef8ec5895dfe7f895f89ee8c126de14 (patch)
tree702dbe43701e15a37f7811983aad78e069812704 /src/elab.sml
parent43cd4231dea11d2cbb0151f144e4a98c618df396 (diff)
Destructing local let, to the point where demo compiles
Diffstat (limited to 'src/elab.sml')
-rw-r--r--src/elab.sml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/elab.sml b/src/elab.sml
index de2db500..76ea6725 100644
--- a/src/elab.sml
+++ b/src/elab.sml
@@ -120,10 +120,10 @@ datatype exp' =
| EError
| EUnif of exp option ref
- | ELet of edecl list * exp
+ | ELet of edecl list * exp * con
and edecl' =
- EDVal of string * con * exp
+ EDVal of pat * con * exp
| EDValRec of (string * con * exp) list
withtype exp = exp' located