I changed the tab size to 8, and everything looks correctly lined up, but I still get the error.<br>The weird thing is, if I copy and paste some 'do' code from somewhere, it runs fine; but if I modify the 'do' construct, I get the error.
<br><br><div><span class="gmail_quote">On 6/1/07, <b class="gmail_sendername">Robin Houston</b> <<a href="mailto:robin.houston@gmail.com">robin.houston@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><span class="e" id="q_112e7bc1951dd0e0_0">On 6/1/07, <b class="gmail_sendername">Edwin Chen</b> <<img style="border: medium none ; cursor: pointer;" title="send email to edchen@mit.edu via gmail" src="data:image/bmp;base64,Qk1GAgAAAAAAADYAAAAoAAAAEAAAAAsAAAABABgAAAAAABACAADEDgAAxA4AAAAAAAAAAAAAODjaODjap6f5p6f5p6f5p6f5p6f5p6f5p6f5p6f5p6f5p6f5p6f5p6f5ODjaODjaODjaODja4uL%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F4uL%2FODjaODjaODjaODjap6f54uL%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F4uL%2Fp6f5ODjaODjaODjaODja4uL%2Fp6f54uL%2F%2F%2F%2F%2F%2F%2F%2F%2FgYHygYHy%2F%2F%2F%2F%2F%2F%2F%2F4uL%2Fp6f54uL%2FODjaODjaODjaODja%2F%2F%2F%2F4uL%2Fp6f5trb%2FgYHyWlrpWlrpgYHytrb%2Fp6f54uL%2F%2F%2F%2F%2FODjaODjaODjaODja%2F%2F%2F%2F%2F%2F%2F%2Ftrb%2FgYHyWlrpODjaODjaWlrpgYHytrb%2F%2F%2F%2F%2F%2F%2F%2F%2FODjaODjaODjaODja%2F%2F%2F%2F%2F%2F%2F%2FgYHyWlrpODjatrb%2Ftrb%2FODjaWlrpgYHy%2F%2F%2F%2F%2F%2F%2F%2FODjaODjaODjaODja%2F%2F%2F%2FgYHyWlrpODjatrb%2F%2F%2F%2F%2F%2F%2F%2F%2Ftrb%2FODjaWlrpgYHy%2F%2F%2F%2FODjaODjaODjaODjagYHyWlrpODjatrb%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2Ftrb%2FODjaWlrpgYHyODjaODjaODjaODjaODjaODjatrb%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2Ftrb%2FODjaODjaODjaODjaODjaODjaODjagYHyp6f5p6f5p6f5p6f5p6f5p6f5p6f5p6f5gYHyODjaODjaODja">
<a href="mailto:edchen@mit.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">edchen@mit.edu</a>> wrote:</span></div><div><div><span class="e" id="q_112e7bc1951dd0e0_2"><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;">
Does anyone else have (a fix to) the following problem with the Haskell bundle:<br>When making do statements, unless I do the brackets+semicolons thing to tell ghc to ignore formatting, I get a<br>"The last statement in a 'do' construct must be an expression"
<br>even though I have everything lined up correctly.</blockquote></span></div><div><br>Do you have the tab size set to 8 characters? I think the Haskell<br>layout mechanism assumes (in good Unix tradition) that tab stops
<br>are 8 characters, but TextMate's default is 4.
<br><br>If you change the tab size to 8, does everything still look correctly<br>lined up?<br><br>Robin<br></div><br></div>
<br><br>______________________________________________________________________<br>For new threads USE THIS: <img style="border: medium none ; cursor: pointer;" title="send email to textmate@lists.macromates.com via gmail" src="data:image/bmp;base64,Qk1GAgAAAAAAADYAAAAoAAAAEAAAAAsAAAABABgAAAAAABACAADEDgAAxA4AAAAAAAAAAAAAODjaOD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6f5p6f5gYHyODjaODjaODja">
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>(threading gets destroyed and the universe will collapse if you don't)<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.macromates.com/mailman/listinfo/textmate" target="_blank">
http://lists.macromates.com/mailman/listinfo/textmate</a><br></blockquote></div><br>