diff options
author | 2008-10-31 09:30:22 -0400 | |
---|---|---|
committer | 2008-10-31 09:30:22 -0400 | |
commit | 4f190e28ca1f36b85cea29ef79b1c9f163779141 (patch) | |
tree | 81322ab53b15b0d76854756431ac4c662825ad59 /src/core_print.sml | |
parent | 13e1acb4d9330fa4d89ee7acdb4ce02fec964b47 (diff) |
Replace 'with' with '++'
Diffstat (limited to 'src/core_print.sml')
-rw-r--r-- | src/core_print.sml | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/src/core_print.sml b/src/core_print.sml index 0d470d39..1214a54f 100644 --- a/src/core_print.sml +++ b/src/core_print.sml @@ -283,31 +283,26 @@ fun p_exp' par env (e, _) = box [p_exp' true env e, string ".", p_con' true env c] - | EWith (e1, c, e2, {field, rest}) => + | EConcat (e1, c1, e2, c2) => parenIf par (if !debug then - box [p_exp env e1, + box [p_exp' true env e1, space, - string "with", + string ":", space, - p_con' true env c, + p_con env c1, + space, + string "++", space, - string "=", p_exp' true env e2, space, - string "[", - p_con env field, + string ":", space, - string " in ", - space, - p_con env rest, - string "]"] + p_con env c2] else - box [p_exp env e1, + box [p_exp' true env e1, space, string "with", space, - p_con' true env c, - space, p_exp' true env e2]) | ECut (e, c, {field, rest}) => parenIf par (if !debug then |