aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/mono_print.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-07-10 14:02:54 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-07-10 14:02:54 -0400
commit425bb7f90ffc8a6f8a1590ed76f305f3029a0beb (patch)
tree5b6d5cf41f31998021e1b29ce4407de55dba12bc /src/mono_print.sml
parent5f2f492e122a26017496ed57d76ae39c6b1b254a (diff)
Writing HTML
Diffstat (limited to 'src/mono_print.sml')
-rw-r--r--src/mono_print.sml6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mono_print.sml b/src/mono_print.sml
index b3c5f3a5..317744ed 100644
--- a/src/mono_print.sml
+++ b/src/mono_print.sml
@@ -114,10 +114,14 @@ fun p_exp' par env (e, _) =
| EStrcat (e1, e2) => box [p_exp' true env e1,
space,
- string ".",
+ string "^",
space,
p_exp' true env e2]
+ | EWrite e => box [string "write(",
+ p_exp env e,
+ string ")"]
+
and p_exp env = p_exp' false env
fun p_decl env ((d, _) : decl) =