X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2FbasicTypes%2FDemand.lhs;h=d85315aa3b849b389127f947e061af723156c8be;hp=df2758ad138b2afdfb1ea49f4f3e205245905e55;hb=f5d4c3239e57b0396672ffc302961f84398d730e;hpb=22491570f2e5fe37559f79b7eb637a6576863963 diff --git a/compiler/basicTypes/Demand.lhs b/compiler/basicTypes/Demand.lhs index df2758a..d85315a 100644 --- a/compiler/basicTypes/Demand.lhs +++ b/compiler/basicTypes/Demand.lhs @@ -119,7 +119,7 @@ isPrim _ = False pprDemands :: [Demand] -> Bool -> SDoc pprDemands demands bot = hcat (map pprDemand demands) <> pp_bot where - pp_bot | bot = ptext SLIT("B") + pp_bot | bot = ptext (sLit "B") | otherwise = empty @@ -135,7 +135,7 @@ pprDemand (WwUnpack wu args) = char ch <> parens (hcat (map pprDemand args)) instance Outputable Demand where ppr (WwLazy False) = empty - ppr other_demand = ptext SLIT("__D") <+> pprDemand other_demand + ppr other_demand = ptext (sLit "__D") <+> pprDemand other_demand instance Show Demand where showsPrec p d = showsPrecSDoc p (ppr d)