summaryrefslogtreecommitdiff
path: root/compiler/utils/Outputable.lhs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/utils/Outputable.lhs')
-rw-r--r--compiler/utils/Outputable.lhs3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/utils/Outputable.lhs b/compiler/utils/Outputable.lhs
index 35abf5be07..2ac49b33ab 100644
--- a/compiler/utils/Outputable.lhs
+++ b/compiler/utils/Outputable.lhs
@@ -597,6 +597,9 @@ class Outputable a where
\end{code}
\begin{code}
+instance Outputable Char where
+ ppr c = text [c]
+
instance Outputable Bool where
ppr True = ptext (sLit "True")
ppr False = ptext (sLit "False")