summaryrefslogtreecommitdiff
path: root/src/expl_print.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-08-08 17:55:51 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-08-08 17:55:51 -0400
commitb9b67597324deb6e6dfc8ef33c60c110abc2af7b (patch)
tree2ff5f7417692c2590916a6eeb55aa38bbb47516f /src/expl_print.sml
parente2a9136ed7123cb8e5cac4a20cbce5467643ecd6 (diff)
Specialization of single-parameter datatypes
Diffstat (limited to 'src/expl_print.sml')
-rw-r--r--src/expl_print.sml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expl_print.sml b/src/expl_print.sml
index 60075a70..d3638d18 100644
--- a/src/expl_print.sml
+++ b/src/expl_print.sml
@@ -345,7 +345,7 @@ fun p_datatype env (x, n, xs, cons) =
p_list_sep (box [space, string "|", space])
(fn (x, n, NONE) => if !debug then (string (x ^ "__" ^ Int.toString n))
else string x
- | (x, _, SOME t) => box [if !debug then (string (x ^ "__" ^ Int.toString n))
+ | (x, n, SOME t) => box [if !debug then (string (x ^ "__" ^ Int.toString n))
else string x, space, string "of", space, p_con env t])
cons]
end