projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve SpecConstr for local bindings: seed specialisation from the calls
[ghc-hetmet.git]
/
compiler
/
main
/
PprTyThing.hs
diff --git
a/compiler/main/PprTyThing.hs
b/compiler/main/PprTyThing.hs
index
f8d5db3
..
2a7abb4
100644
(file)
--- a/
compiler/main/PprTyThing.hs
+++ b/
compiler/main/PprTyThing.hs
@@
-190,7
+190,7
@@
pprDataConDecl pefas gadt_style show_label dataCon
-- printing out the dataCon as a type signature, in GADT style
pp_tau = foldr add (ppr res_ty) tys_w_strs
-- printing out the dataCon as a type signature, in GADT style
pp_tau = foldr add (ppr res_ty) tys_w_strs
- add (str,ty) pp_ty = pprBangTy str ty <+> arrow <+> pp_ty
+ add str_ty pp_ty = pprParendBangTy str_ty <+> arrow <+> pp_ty
pprParendBangTy (strict,ty)
| GHC.isMarkedStrict strict = char '!' <> GHC.pprParendType ty
pprParendBangTy (strict,ty)
| GHC.isMarkedStrict strict = char '!' <> GHC.pprParendType ty