freeErr pred
= sep [ptext SLIT("All of the type variables in the constraint") <+> quotes (pprPred pred) <+>
ptext SLIT("are already in scope"),
- nest 4 (ptext SLIT("At least one must be universally quantified here"))
+ nest 4 (ptext SLIT("(at least one must be universally quantified here)"))
]
\end{code}
= sep [ptext SLIT("Different constructors give different types for field"), quotes (ppr field_name)]
existentialCtxt con = ptext SLIT("When checking the existential context of constructor")
- <+> ppr con
+ <+> quotes (ppr con)
\end{code}