X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Futils%2FLazyUniqFM.lhs;h=99be1635c567406a2453f2c89b499c0c1f3004c4;hb=331923fd7adec11980e776dd33442c654cca0280;hp=d8132e3cd5b11887a1efc0f20ef50347c2df7128;hpb=1370a4a360ec154b390c1da21d40e446739b24c8;p=ghc-hetmet.git diff --git a/compiler/utils/LazyUniqFM.lhs b/compiler/utils/LazyUniqFM.lhs index d8132e3..99be163 100644 --- 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} -{-# OPTIONS -Wall -fno-warn-name-shadowing -Werror -fallow-undecidable-instances #-} +{-# OPTIONS -Wall -fno-warn-name-shadowing -Werror #-} module LazyUniqFM ( UniqFM, -- abstract type @@ -179,7 +179,7 @@ data Lazy a = Lazy { fromLazy :: a } 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