diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-02-24 12:01:24 -0500 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-02-24 12:01:24 -0500 |
commit | 7865cb372d95c42542d59cbcf83ba541b0ab3f8a (patch) | |
tree | 9dd05f2dad9cc6d4e0e33af1e8f1cf0a1def9f15 /src/source_print.sml | |
parent | adcf93304e6fc100d0e714a898033d2a9033173c (diff) |
Switch to TDisjoint from CDisjoint; still need to implement obligation generation at EDisjoint uses
Diffstat (limited to 'src/source_print.sml')
-rw-r--r-- | src/source_print.sml | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/src/source_print.sml b/src/source_print.sml index f2420947..4453454d 100644 --- a/src/source_print.sml +++ b/src/source_print.sml @@ -98,6 +98,17 @@ fun p_con' par (c, _) = string "}"] | TRecord c => box [string "$", p_con' true c] + | TDisjoint (c1, c2, c3) => parenIf par (box [string "[", + p_con c1, + space, + string "~", + space, + p_con c2, + string "]", + space, + string "=>", + space, + p_con c3]) | CVar (ss, s) => p_list_sep (string ".") string (ss @ [s]) | CApp (c1, c2) => parenIf par (box [p_con c1, @@ -121,15 +132,7 @@ fun p_con' par (c, _) = string "=>", space, p_con c]) - | CDisjoint (c1, c2, c3) => parenIf par (box [p_con c1, - space, - string "~", - space, - p_con c2, - space, - string "=>", - space, - p_con c3]) + | CName s => box [string "#", string s] |