diff options
author | 2009-02-24 12:01:24 -0500 | |
---|---|---|
committer | 2009-02-24 12:01:24 -0500 | |
commit | 7b71af9c790abcff2bfe0a16a417a1023776351d (patch) | |
tree | 9dd05f2dad9cc6d4e0e33af1e8f1cf0a1def9f15 /src/source_print.sml | |
parent | bb4aed8e1304d5cb3cbe7ec5fdcf95344e9aa2d5 (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] |