diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-07-10 10:11:35 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-07-10 10:11:35 -0400 |
commit | 768dfadfe4717b0c3f7b207a4980c78288b44a93 (patch) | |
tree | d927ffb9ed326f5f978ef15d1157f99239fcfb0f /src/mono_print.sml | |
parent | baa7f87fc4cb1d22eed66ff41a61e9525e0477e2 (diff) |
page declaration, up through monoize
Diffstat (limited to 'src/mono_print.sml')
-rw-r--r-- | src/mono_print.sml | 15 |
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) => |