diff src/source_print.sml @ 149:7420fa18d657

Record cut
author Adam Chlipala <adamc@hcoop.net>
date Thu, 24 Jul 2008 10:09:21 -0400
parents e3041657d653
children 34ccd7d2bea8
line wrap: on
line diff
--- a/src/source_print.sml	Tue Jul 22 19:12:25 2008 -0400
+++ b/src/source_print.sml	Thu Jul 24 10:09:21 2008 -0400
@@ -232,6 +232,11 @@
       | EField (e, c) => box [p_exp' true e,
                               string ".",
                               p_con' true c]
+      | ECut (e, c) => parenIf par (box [p_exp' true e,
+                                         space,
+                                         string "--",
+                                         space,
+                                         p_con' true c])
       | EFold => string "fold"
 
 and p_exp e = p_exp' false e