diff src/elab_print.sml @ 85:1f85890c9846

Disjointness assumptions in expressions
author Adam Chlipala <adamc@hcoop.net>
date Tue, 01 Jul 2008 12:25:12 -0400
parents e86370850c30
children 7bab29834cd6
line wrap: on
line diff
--- a/src/elab_print.sml	Tue Jul 01 12:10:46 2008 -0400
+++ b/src/elab_print.sml	Tue Jul 01 12:25:12 2008 -0400
@@ -77,6 +77,15 @@
                                                 string "->",
                                                 space,
                                                 p_con (E.pushCRel env x k) c])
+      | TDisjoint (c1, c2, c3) => parenIf par (box [p_con env c1,
+                                                    space,
+                                                    string "~",
+                                                    space,
+                                                    p_con env c2,
+                                                    space,
+                                                    string "->",
+                                                    space,
+                                                    p_con env c3])
       | TRecord (CRecord (_, xcs), _) => box [string "{",
                                               p_list (fn (x, c) =>
                                                          box [p_name env x,