diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-10-21 09:50:19 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-10-21 09:50:19 -0400 |
commit | f750e27d0e16da032227dbc71ecb7c63f5b77bc7 (patch) | |
tree | c1cd77d3f82dedbd270450204612186c547a83e8 /src/mono_print.sml | |
parent | 4f6178266ffe0bf5423878b46486b82c19a56810 (diff) |
Binops; equality tested on int; lame 404 substitute
Diffstat (limited to 'src/mono_print.sml')
-rw-r--r-- | src/mono_print.sml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mono_print.sml b/src/mono_print.sml index f7adfd70..5d9f8007 100644 --- a/src/mono_print.sml +++ b/src/mono_print.sml @@ -158,6 +158,15 @@ fun p_exp' par env (e, _) = space, p_exp (E.pushERel env x t NONE) e]) + | EUnop (s, e) => parenIf true (box [string s, + space, + p_exp' true env e]) + | EBinop (s, e1, e2) => parenIf true (box [p_exp' true env e1, + space, + string s, + space, + p_exp' true env e2]) + | ERecord xes => box [string "{", p_list (fn (x, e, _) => box [string x, |