Commit 0e7aad2c authored by ian@well-typed.com's avatar ian@well-typed.com

De-orphan the Outputable Char instance

parent 89900ff3
......@@ -9,7 +9,6 @@ which is declared in the various \tr{Hs*} modules. This module,
therefore, is almost nothing but re-exporting.
\begin{code}
{-# OPTIONS_GHC -fno-warn-orphans #-}
{-# OPTIONS -fno-warn-tabs #-}
-- The above warning supression flag is a temporary kludge.
-- While working on this module you are encouraged to remove it and
......@@ -96,9 +95,6 @@ data HsExtCore name -- Read from Foo.hcr
\begin{code}
instance Outputable Char where
ppr c = text [c]
instance (OutputableBndr name, HasOccName name)
=> Outputable (HsModule name) where
......
......@@ -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")
......
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