summaryrefslogtreecommitdiff
path: root/src/pretty_print.ml
diff options
context:
space:
mode:
authorChristopher Pulte2015-10-13 16:54:28 +0100
committerChristopher Pulte2015-10-13 16:54:28 +0100
commitd14f53f722be3c8a2a010fb89d01281aa98a5a90 (patch)
tree48573124fd3fc89e7df4edd89302cb4389f57c11 /src/pretty_print.ml
parenta977ac5466039940a3176523c4c53412e5a81503 (diff)
some progress on sequentialise_effects
Diffstat (limited to 'src/pretty_print.ml')
-rw-r--r--src/pretty_print.ml6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pretty_print.ml b/src/pretty_print.ml
index 87a7b94c..e55119ca 100644
--- a/src/pretty_print.ml
+++ b/src/pretty_print.ml
@@ -1494,6 +1494,12 @@ let doc_exp_ocaml, doc_let_ocaml =
string "in";
exp in_exp]
+ | E_internal_plet (pat,e1,e2) ->
+ doc_op (string "in")
+ (prefix 2 1
+ (separate space [string "letM"; doc_atomic_pat_ocaml pat; equals])
+ (exp e1)
+ ) (exp e2)
and let_exp (LB_aux(lb,_)) = match lb with
| LB_val_explicit(ts,pat,e) ->
prefix 2 1