Hi,
what if Elixir supported this new syntax for pattern matching of maps, in which for example,
would be the same as
%{key1: key1, key2: key2}
Also, the following
would be the same as
%{key1: key1, key2: ^key2}
What do you think?
I find myself repeating this pattern many times, and I believe this can make the code more succinct and clear.
Obviously this would only work when key1 and key2 are variable names, not expressions.
Probably this has been proposed before, ... but I do not know.
What do you think?
Thanks