Commit 01d6d2d0 authored by simonmar's avatar simonmar

[project @ 2001-08-15 15:57:20 by simonmar]

Don't print all the fields of a record on the same line
parent 99b4825c
......@@ -606,7 +606,7 @@ ppr_con_details con (VanillaCon tys)
= ppr con <+> hsep (map (ppr_bang) tys)
ppr_con_details con (RecCon fields)
= ppr con <+> braces (hsep (punctuate comma (map ppr_field fields)))
= ppr con <+> braces (sep (punctuate comma (map ppr_field fields)))
where
ppr_field (ns, ty) = hsep (map (ppr) ns) <+>
dcolon <+>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment