summaryrefslogtreecommitdiff
path: root/src/source_print.sml
diff options
context:
space:
mode:
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 "::",