Mercurial > urweb
diff src/elab_print.sml @ 493:ae03d09043c1
Add CutMulti
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 11 Nov 2008 19:20:37 -0500 |
parents | d34834af4512 |
children | 1bbcc3345d12 |
line wrap: on
line diff
--- a/src/elab_print.sml Tue Nov 11 18:39:38 2008 -0500 +++ b/src/elab_print.sml Tue Nov 11 19:20:37 2008 -0500 @@ -359,6 +359,24 @@ 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" | ECase (e, pes, _) => parenIf par (box [string "case",