indent: macros in list comprehensions
bad:
good:
test_data() ->
[
a,
[?MI(X) || X<-L],
a,
b
].
good:
test_data() ->
[
a,
[mi(X) || X<-L],
a,
b
].
Leave a comment
on 2011-10-13 15:01 *
By Vlad Dumitrescu
The indentation is also something that we should do something about - it is too ad-hoc and there are too many special cases. The optimal solution would be to have something based on the language grammar, but this is for the future.
on 2011-12-13 18:12 *
By Vlad Dumitrescu
Milestone changed from sprint #25 - 0.13.7 to sprint #26 - 0.13.9
Milestone changed from sprint #25 - 0.13.7 to sprint #26 - 0.13.9