diff src/mono_print.sml @ 741:f7e2026dd5ae

Returning a blob as page result
author Adam Chlipala <adamc@hcoop.net>
date Sun, 26 Apr 2009 09:02:17 -0400
parents 796e42c93c48
children 8688e01ae469
line wrap: on
line diff
--- a/src/mono_print.sml	Sat Apr 25 14:47:16 2009 -0400
+++ b/src/mono_print.sml	Sun Apr 26 09:02:17 2009 -0400
@@ -211,6 +211,18 @@
                               space,
                               p_typ env t,
                               string ")"]
+      | EReturnBlob {blob, mimeType, t} => box [string "(blob",
+                                                space,
+                                                p_exp env blob,
+                                                space,
+                                                string "in",
+                                                space,
+                                                p_exp env mimeType,
+                                                space,
+                                                string ":",
+                                                space,
+                                                p_typ env t,
+                                                string ")"]
 
       | EStrcat (e1, e2) => parenIf par (box [p_exp' true env e1,
                                               space,