<div dir="ltr"><div><div>When I was working through the ppr to use HsParTy everywhere it was not clear whether there were any usages that required maybeParen, so I left it in.<br><br></div>I can try to strip then all out and see what happens.<br><br></div>Alan<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 26 May 2017 at 10:54, Simon Peyton Jones <span dir="ltr"><<a href="mailto:simonpj@microsoft.com" target="_blank">simonpj@microsoft.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="#0563C1" vlink="#954F72" lang="EN-GB">
<div class="m_7712769395551567293WordSection1">
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">Alan<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">Do you know why HsTypes.ppr_mono_ty contains any uses of ‘maybeParen’?  Shouldn’t the parens all be put in by HsParTy?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">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.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">So why are there /any/ maybeParen calls?<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></span></p><span class="HOEnZb"><font color="#888888">
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">Simon<u></u><u></u></span></p>
</font></span></div>
</div>

</blockquote></div><br></div>