Thus spake Alexander Shorin: > I just faced another indention case which left out of scope of the vote: > https://gist.github.com/kxepal/2c09fb5348ead90bea04 > > Personally, I'm for 1) variant there.
Considering the Z*Y=X approach and the case statement proposal, and also http://erlang.org/doc/reference_manual/expressions.html#id77318 which has the official guideline, I would say 3) is probably the best mapping, wouldn't you? > Another interesting case is anonymous function: > https://gist.github.com/kxepal/c5480209af9e93a14155 > > I prefer 3) one. Paul showed an anonymous function example in the follow-up I sent, see : https://gist.github.com/davisp/8665dd5ca023b5da8f24#file-indent-erl-L17-L24 but it does not cover multiple guarded variants. 3) seems reasonable to me but I defer to others.... -Joan
