On 2/19/07, <b class="gmail_sendername">Ross Paterson</b> &lt;<a href="mailto:ross@soi.city.ac.uk">ross@soi.city.ac.uk</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Mon, Feb 19, 2007 at 11:16:03AM +0000, Malcolm Wallace wrote:<br>&gt; isaac jones &lt;<a href="mailto:ijones@galois.com">ijones@galois.com</a>&gt; wrote:<br>&gt; &gt; Iavor and I just made the trivial modification for DoAndIfThenElse
<br>&gt; &gt;<br>&gt; &gt; Any comments on this modification?&nbsp;&nbsp;How do people feel about the<br>&gt; &gt; suggestion that we do it for case statements as well?<br>&gt;<br>&gt; I&#39;m happy to allow the change for if-then-else.&nbsp;&nbsp;The need for extra
<br>&gt; indentation there has annoyed me a few times.<br><br>The semicolon before the &quot;else&quot; is the most useful.&nbsp;&nbsp;Adding another<br>before the &quot;then&quot; has less motivation.</blockquote><div><br>I think it is a bad idea to make the non-layout syntax more complicated and less readable, just so that, indirectly, the layout syntax can be improved. Improvements to the layout mechanism should be localized to the section of the report describing layout, and such improvements shouldn&#39;t do anything to harm the non-layout syntax. In particular, why you don&#39;t just say that &quot;else&quot; and &quot;of&quot; act like &quot;;&quot; during layout? 
<br><br><span style="font-family: courier new,monospace;">do { q &lt;- if x</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp; ; then y ; else z<br>&nbsp;&nbsp; ; return q<br>
&nbsp;&nbsp; }<br><br>- Brian<br><br></span></div></div>