aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/mono_print.sml
diff options
context:
space:
mode:
Diffstat (limited to 'src/mono_print.sml')
-rw-r--r--src/mono_print.sml15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mono_print.sml b/src/mono_print.sml
index 7acb05b5..9ac80b42 100644
--- a/src/mono_print.sml
+++ b/src/mono_print.sml
@@ -185,6 +185,21 @@ fun p_exp' par env (e, _) =
string ";",
space,
p_exp env e2]
+ | ELet (x, t, e1, e2) => box [string "let",
+ space,
+ string x,
+ space,
+ string ":",
+ space,
+ p_typ env t,
+ space,
+ string "=",
+ space,
+ p_exp env e1,
+ space,
+ string "in",
+ space,
+ p_exp (E.pushERel env x t NONE) e2]
| EClosure (n, es) => box [string "CLOSURE(",
p_enamed env n,