summaryrefslogtreecommitdiff
path: root/compiler/utils
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-08-05 14:18:22 +0100
committerIan Lynagh <ian@well-typed.com>2012-08-05 14:18:22 +0100
commit0e7aad2c6cda3db0a050bfe8afc56bbb2815e30c (patch)
tree14ebed297b997dffec35dcb22ab50614c8eb1aec /compiler/utils
parent89900ff3096f34f1212dfe2b1dfd32adf5b3bf1b (diff)
downloadhaskell-0e7aad2c6cda3db0a050bfe8afc56bbb2815e30c.tar.gz
De-orphan the Outputable Char instance
Diffstat (limited to 'compiler/utils')
-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")