projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
FIX #2302: print FastStrings in UTF-8 in error messages
[ghc-hetmet.git]
/
compiler
/
utils
/
LazyUniqFM.lhs
diff --git
a/compiler/utils/LazyUniqFM.lhs
b/compiler/utils/LazyUniqFM.lhs
index
d8132e3
..
99be163
100644
(file)
--- a/
compiler/utils/LazyUniqFM.lhs
+++ b/
compiler/utils/LazyUniqFM.lhs
@@
-11,7
+11,7
@@
Basically, the things need to be in class @Uniquable@, and we use the
@getUnique@ method to grab their @Uniques@.
\begin{code}
@getUnique@ method to grab their @Uniques@.
\begin{code}
-{-# OPTIONS -Wall -fno-warn-name-shadowing -Werror -fallow-undecidable-instances #-}
+{-# OPTIONS -Wall -fno-warn-name-shadowing -Werror #-}
module LazyUniqFM (
UniqFM, -- abstract type
module LazyUniqFM (
UniqFM, -- abstract type
@@
-179,7
+179,7
@@
data Lazy a = Lazy { fromLazy :: a }
newtype UniqFM ele = MkUniqFM (S.UniqFM (Lazy ele))
newtype UniqFM ele = MkUniqFM (S.UniqFM (Lazy ele))
-instance Outputable (S.UniqFM (Lazy a)) => Outputable (UniqFM a) where
+instance Outputable a => Outputable (UniqFM a) where
ppr (MkUniqFM fm) = ppr fm
instance Outputable a => Outputable (Lazy a) where
ppr (MkUniqFM fm) = ppr fm
instance Outputable a => Outputable (Lazy a) where