On Jul 12, 2006, at 9:18 PM, Joel Reymont wrote:

> Are cool kids supposed to put the comma in front like this?
>
> , foo
> , bar
> , baz
>
> Is this for historical or other reasons because Emacs formats Haskell 
> code well enough regardless.
>
>       Thanks, Joel
>

These layouts feel a bit artificial to me. I am quite partial to
python's
list syntax - a trailing comma is optional. meaning you can write

    [
       a,
       b,
       c,
    ]

I'm surprised this approach isn't more widespread - Are there reasons
why
haskell syntax could not/should not be defined this way?

Tim

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to