diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-09-14 15:10:04 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-09-14 15:10:04 -0400 |
commit | 8cc7053b00237cd468290cb5f2042898e7a80329 (patch) | |
tree | 0138b56c392844cd8033fa03e81715b8b1ca4f8a /src/core_print.sml | |
parent | c81c24b4feb3fae3c13861f1bcaafab697a6bb7e (diff) |
Crud supports INSERT
Diffstat (limited to 'src/core_print.sml')
-rw-r--r-- | src/core_print.sml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/core_print.sml b/src/core_print.sml index 6e32dde3..0d470d39 100644 --- a/src/core_print.sml +++ b/src/core_print.sml @@ -283,6 +283,32 @@ fun p_exp' par env (e, _) = box [p_exp' true env e, string ".", p_con' true env c] + | EWith (e1, c, e2, {field, rest}) => + parenIf par (if !debug then + box [p_exp env e1, + space, + string "with", + space, + p_con' true env c, + space, + string "=", + p_exp' true env e2, + space, + string "[", + p_con env field, + space, + string " in ", + space, + p_con env rest, + string "]"] + else + box [p_exp 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 box [p_exp' true env e, |