[Haskell-cafe] Re: Is 78 characters still a good option? Was: breaking too long lines

Henning Thielemann schlepptop at henning-thielemann.de
Tue Apr 28 16:38:51 EDT 2009


Christian Maeder schrieb:

> Putting commas in the front, better indicates the continuation, but the
> extra space following the open bracket "(" looks a bit odd. (Surely one
> could also leave a space before the closing bracket, although I wouldn't
> like spaces around all brackets.)
> 
> The alternative:
>    (Functor, Monad, FirstClass, SecondClass, ThirdClass,
>     SomeOtherClass)
> 
> has the disadvantage, that the second line is only indented by one
> character (relative to the previous one), but intending further (+1 or
> +3 or even one less) is an alternative.

http://www.haskell.org/haskellwiki/Terminator_vs._separator


More information about the Haskell-Cafe mailing list