Simon Peyton Jones simonpj at microsoft.com
Fri May 26 08:54:50 UTC 2017

Do you know why HsTypes.ppr_mono_ty contains any uses of 'maybeParen'?  Shouldn't the parens all be put in by HsParTy?
I tripped over this when I mistakenly added what I thought were missing maybeParen calls for HsAppTy and HsAppTys, but that was flagged as an error by a test in tests/printer.
So why are there /any/ maybeParen calls?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20170526/b18ac5d3/attachment.html>

More information about the ghc-devs mailing list