X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fstranal%2FSaLib.lhs;h=2561d972cb8928c2a1c0ae6183e049d328476169;hb=7bb3d1fc79521d591cd9f824893963141a7997b6;hp=1895321057b319ae1bb226094416f724cf4ac8f5;hpb=ad94d40948668032189ad22a0ad741ac1f645f50;p=ghc-hetmet.git diff --git a/compiler/stranal/SaLib.lhs b/compiler/stranal/SaLib.lhs index 1895321..2561d97 100644 --- a/compiler/stranal/SaLib.lhs +++ b/compiler/stranal/SaLib.lhs @@ -10,7 +10,7 @@ See also: the ``library'' for the ``back end'' (@SaBackLib@). -- 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/CodingStyle#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} %-----------