X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fstranal%2FSaLib.lhs;h=2561d972cb8928c2a1c0ae6183e049d328476169;hb=9a4ef343a46e823bcf949af8501c13cc8ca98fb1;hp=aebd8c0a53d3b3802fd8b9569f9db4047cb4fee1;hpb=17b297d97d327620ed6bfab942f8992b2446f1bf;p=ghc-hetmet.git diff --git a/compiler/stranal/SaLib.lhs b/compiler/stranal/SaLib.lhs index aebd8c0..2561d97 100644 --- a/compiler/stranal/SaLib.lhs +++ b/compiler/stranal/SaLib.lhs @@ -6,11 +6,11 @@ See also: the ``library'' for the ``back end'' (@SaBackLib@). \begin{code} -{-# OPTIONS_GHC -w #-} +{-# OPTIONS -w #-} -- The above warning supression flag is a temporary kludge. -- While working on this module you are encouraged to remove it and fix -- any warnings in the module. See --- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings +-- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings -- for details #ifndef OLD_STRICTNESS @@ -87,12 +87,12 @@ mkAbsApproxFun d (AbsApproxFun ds val) = AbsApproxFun (d:ds) val mkAbsApproxFun d val = AbsApproxFun [d] val instance Outputable AbsVal where - ppr AbsTop = ptext SLIT("AbsTop") - ppr AbsBot = ptext SLIT("AbsBot") - ppr (AbsProd prod) = hsep [ptext SLIT("AbsProd"), ppr prod] - ppr (AbsFun bndr_ty body) = ptext SLIT("AbsFun") + ppr AbsTop = ptext (sLit "AbsTop") + ppr AbsBot = ptext (sLit "AbsBot") + ppr (AbsProd prod) = hsep [ptext (sLit "AbsProd"), ppr prod] + ppr (AbsFun bndr_ty body) = ptext (sLit "AbsFun") ppr (AbsApproxFun demands val) - = ptext SLIT("AbsApprox") <+> brackets (interpp'SP demands) <+> ppr val + = ptext (sLit "AbsApprox") <+> brackets (interpp'SP demands) <+> ppr val \end{code} %-----------