summaryrefslogtreecommitdiff
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, 14 insertions, 1 deletions
diff --git a/src/mono_print.sml b/src/mono_print.sml
index c0847019..b3c5f3a5 100644
--- a/src/mono_print.sml
+++ b/src/mono_print.sml
@@ -143,7 +143,20 @@ fun p_decl env ((d, _) : decl) =
space,
p_exp env e]
end
-
+ | DPage (xcs, e) => box [string "page",
+ string "[",
+ p_list (fn (x, t) =>
+ box [string x,
+ space,
+ string ":",
+ space,
+ p_typ env t]) xcs,
+ string "]",
+ space,
+ string "=",
+ space,
+ p_exp env e]
+
fun p_file env file =
let
val (pds, _) = ListUtil.foldlMap (fn (d, env) =>