Mercurial > urweb
diff src/mono_print.sml @ 100:f0f59e918cac
page declaration, up through monoize
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 10 Jul 2008 10:11:35 -0400 |
parents | 40d146f467c5 |
children | 5f04adf47f48 |
line wrap: on
line diff
--- a/src/mono_print.sml Thu Jul 10 09:24:43 2008 -0400 +++ b/src/mono_print.sml Thu Jul 10 10:11:35 2008 -0400 @@ -143,7 +143,20 @@ 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) =>