aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/expl_print.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-07-01 13:23:46 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-07-01 13:23:46 -0400
commit73b8b2cf8afd5cc8969b3bd4d2c238d9c453e8fd (patch)
treec082faa41b174478cadc17f84b65635593ca97af /src/expl_print.sml
parenta0b2a6145f200885f5dd7b365d2ffad51851795e (diff)
Push KUnit and CUnit through the phases
Diffstat (limited to 'src/expl_print.sml')
-rw-r--r--src/expl_print.sml2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/expl_print.sml b/src/expl_print.sml
index ab8462b8..447845a2 100644
--- a/src/expl_print.sml
+++ b/src/expl_print.sml
@@ -48,6 +48,7 @@ fun p_kind' par (k, _) =
p_kind k2])
| KName => string "Name"
| KRecord k => box [string "{", p_kind k, string "}"]
+ | KUnit => string "Unit"
and p_kind k = p_kind' false k
@@ -144,6 +145,7 @@ fun p_con' par env (c, _) =
space,
p_con env c2])
| CFold _ => string "fold"
+ | CUnit => string "()"
and p_con env = p_con' false env