Is 78 characters still a good option? Was: [Haskell-cafe]
breaking too long lines
Miguel Mitrofanov
miguelimo38 at yandex.ru
Sat Apr 25 04:59:36 EDT 2009
Something like
newtype MyCoolMonad = MyCoolMonad (FirstTransformer (SecondTransformer
(ThirdTransformer Whatever))) deriving (Functor, Monad, FirstClass,
SecondClass, ThirdClass, SomeOtherClass)
Nobody would be really interested in "deriving" clause, because it
basically says "derive everything possible". Therefore, it seems
pointless to move it to another line.
On 24 Apr 2009, at 16:37, Loup Vaillant wrote:
> 2009/4/23 Miguel Mitrofanov <miguelimo38 at yandex.ru>:
>> On 23 Apr 2009, at 12:17, Thomas Davie wrote:
>>
>>> Haskell is a very horizontal language, and to limit our horizontal
>>> space
>>> seems pretty weird.
>>
>> +1. I sometimes use lines up to 200 characters long, when I feel
>> they would
>> be more readable.
>
> 200 sounds awfully long. Do you have any example?
>
> Loup
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
More information about the Haskell-Cafe
mailing list