aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/source_print.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-07-01 10:55:38 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-07-01 10:55:38 -0400
commit43116f69ce9330eb09d42a25d4afc746e7c3f3ef (patch)
treee57ed0ff271cf35d5dbf88ecb90ce150a877e454 /src/source_print.sml
parentcc2b6499cd2ea61f8882419cc5915c3428d5f5b7 (diff)
Initial disjointness prover
Diffstat (limited to 'src/source_print.sml')
-rw-r--r--src/source_print.sml4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/source_print.sml b/src/source_print.sml
index aa880e08..80b077d0 100644
--- a/src/source_print.sml
+++ b/src/source_print.sml
@@ -44,6 +44,7 @@ fun p_kind' par (k, _) =
p_kind k2])
| KName => string "Name"
| KRecord k => box [string "{", p_kind k, string "}"]
+ | KUnit => string "Unit"
| KWild => string "_"
and p_kind k = p_kind' false k
@@ -127,6 +128,9 @@ fun p_con' par (c, _) =
space,
p_con c2])
| CFold => string "fold"
+
+ | CUnit => string "()"
+
| CWild k => box [string "(_",
space,
string "::",