couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joan Touzet <>
Subject Re: [DISCUSS] Erlang whitespace standards (was: [POLL])
Date Fri, 04 Apr 2014 20:16:22 GMT
Thus spake Alexander Shorin:
> I just faced another indention case which left out of scope of the vote:
> Personally, I'm for 1) variant there.

Considering the Z*Y=X approach and the case statement proposal,
and also
which has the official guideline, I would say 3) is probably the best
mapping, wouldn't you?

> Another interesting case is anonymous function:
> I prefer 3) one.

Paul showed an anonymous function example in the follow-up I sent,
see :

but it does not cover multiple guarded variants. 3) seems reasonable
to me but I defer to others....


View raw message