projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove javaGen; part of trac #2243
[ghc-hetmet.git]
/
compiler
/
basicTypes
/
Demand.lhs
diff --git
a/compiler/basicTypes/Demand.lhs
b/compiler/basicTypes/Demand.lhs
index
df2758a
..
d85315a
100644
(file)
--- 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
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
| 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
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)
instance Show Demand where
showsPrec p d = showsPrecSDoc p (ppr d)