<div dir="ltr">I prefer the other style--as do others, evidently (see the example in my first reply.) I agree that this was a good discussion, but let's not conclude so easily that the entire community is in favor of one thing or the other.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 1, 2013 at 8:24 PM, Richard Cobbe <span dir="ltr"><<a href="mailto:cobbe@ccs.neu.edu" target="_blank">cobbe@ccs.neu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Sun, Jun 30, 2013 at 07:53:08PM -0400, Richard Cobbe wrote:<br>
<br>
> Two questions:<br>
<br>
And what I've concluded by reading this thread:<br>
<div class="im"><br>
> 1) Are there wide-spread conventions in the Haskell community for how to<br>
> indent an application expression that's split across multiple lines?<br>
<br>
</div>Well, there's general consensus in favor of indenting the continuing lines,<br>
but not a lot of consensus on how much, etc. Not surprising, and that's<br>
OK. Infix operators are more complicated.<br>
<div class="im"><br>
> 2) If there is such a convention, how do I make Emacs's haskell-mode do it?<br>
<br>
</div>Doesn't seem to be possible, unless you're in a "do" block.<br>
<br>
To be clear: I wasn't asking how to make Emacs do all of my indentation<br>
automatically, as it can in Lisp and C modes. I realize that isn't<br>
possible.<br>
<br>
But since haskell-mode doesn't have very good support for the style I<br>
personally prefer (which is, in fact, consistent with Richard O'Keefe's<br>
favorite rule), I wondered if that might indicate that the community<br>
prefers a different style. Apparently not.<br>
<br>
Thanks to all who responded; it's been an interesting (if occasionally<br>
overly excited) discussion.<br>
<div class="HOEnZb"><div class="h5"><br>
Richard<br>
<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</div></div></blockquote></div><br></div>