On Sat, Sep 25, 2010 at 5:06 PM, Donn Cave <d...@avvanta.com> wrote:
> Though it's common practice for sure, maybe universal, does the
> "Don't insert a space after a lambda" rule make sense?
>
> I found it confusing at first sight, because of course it looks
> like something else - in "\n m -> ...", to the uninitiated it
> represents a newline, for example.  Now that I understand that
> it's a symbolic keyword, it's an odd way to treat it.  This has
> probably come up before, so feel free to ignore, "I'm just saying."

I think I lean more towards surrounding "\" with spaces nowadays.

> The white space I have trouble deciding on is one-line record
> syntax --  ARecord { aField = "a" }, or maybe ARecord {aField = "a"}.

I always do the former and I think it's the more common style.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to