diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-11-11 19:20:37 -0500 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-11-11 19:20:37 -0500 |
commit | 1c1a33420c69bd2c75aa9986830020869e983e6e (patch) | |
tree | 99c1c46f59df9c378621aa8d05b072d50a81698e /src/expl_print.sml | |
parent | 1d3089850988710149c0fd8d4a72aa3339e6caca (diff) |
Add CutMulti
Diffstat (limited to 'src/expl_print.sml')
-rw-r--r-- | src/expl_print.sml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/expl_print.sml b/src/expl_print.sml index e3153ef2..2ce0c5e2 100644 --- a/src/expl_print.sml +++ b/src/expl_print.sml @@ -334,6 +334,23 @@ fun p_exp' par env (e, loc) = string "--", space, p_con' true env c]) + | ECutMulti (e, c, {rest}) => + parenIf par (if !debug then + box [p_exp' true env e, + space, + string "---", + space, + p_con' true env c, + space, + string "[", + p_con env rest, + string "]"] + else + box [p_exp' true env e, + space, + string "---", + space, + p_con' true env c]) | EFold _ => string "fold" | EWrite e => box [string "write(", |