On 6/1/07, Edwin Chen <edchen@mit.edu> wrote:
Does anyone else have (a fix to) the following problem with the Haskell bundle:
When making do statements, unless I do the brackets+semicolons thing to tell ghc to ignore formatting, I get a
"The last statement in a 'do' construct must be an expression"
even though I have everything lined up correctly.

Do you have the tab size set to 8 characters? I think the Haskell
layout mechanism assumes (in good Unix tradition) that tab stops
are 8 characters, but TextMate's default is 4.

If you change the tab size to 8, does everything still look correctly
lined up?

Robin