Leading commas are a good idea, since the first non-whitespace character of 
a line tells you if it is a continuation.

On Wednesday, October 19, 2016 at 12:58:17 PM UTC-4, Peter Damoc wrote:
>
> On Wed, Oct 19, 2016 at 3:02 PM, John Orford <[email protected] 
> <javascript:>> wrote:
>
>> Commas beginning lines etc.
>>
>> Perhaps not idiomatic in Python or JS, but new good ideas rarely are : )
>>
>>
> I think I've answered too quickly in the previous reply. 
>
> Commas beginning lines looks weird to a lot of people glancing at elm. 
> We got used to them and, as with status quo in general, one can find 
> reasons to keep it. 
>
> I would much rather have the compiler accept trailing comas and elm-format 
> inserting them automatically when spreading a list/record on multiple 
> lines. 
>
>
>
> -- 
> There is NO FATE, we are the creators.
> blog: http://damoc.ro/
>

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to