many times we do stuff like (e.g. test setups, json views in phoenix)
aaa = ...
bbb = ...
ccc = ...
%{aaa: aaa, bbb: bbb, ccc: ccc}
and would be cool to have a standard macro doing the same with
compact(aaa, bbb, ccc) # eventually compact_map / compact_keyword
I’m sorry if this is a duplicate, couldn’t find this in the forum.






















