On Friday, January 6, 2017 at 6:29:43 PM UTC, Mark Hamburg wrote:
>
> What is the intended usage of -- comments in Elm? I'm used to using them 
> as line end comments in other languages and/or lightweight comment lines 
> all to themselves but elm-format tends to respond to them by more radically 
> adjusting the code layout which suggests either that their intended usage 
> in Elm is different than I am expecting or that elm-format needs some work 
> in this regard.


I notice that too. Commenting functional code well is harder than 
imperative, because it is so terse and with function chaining there can 
sometimes be nowhere to put a comment. I tried line end comments with -- 
but elm-format moved them onto the next line and messed everything up. 

-- 
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