diff src/mono_print.sml @ 102:5f04adf47f48

Writing HTML
author Adam Chlipala <adamc@hcoop.net>
date Thu, 10 Jul 2008 14:02:54 -0400
parents f0f59e918cac
children d101cb1efe55
line wrap: on
line diff
--- a/src/mono_print.sml	Thu Jul 10 11:13:49 2008 -0400
+++ b/src/mono_print.sml	Thu Jul 10 14:02:54 2008 -0400
@@ -114,10 +114,14 @@
 
       | 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) =