There has been a lot of conversation around something like this in the past[1][2]. I'm sure there are other examples as well.
If I recall properly, the short answer to this proposal is no, unless someone can come up with a new spin to it. The languages that have this feature generally have a single data type to worry about (strings). In Elixir, we have strings and atoms to consider when attempting a match like this. [1] https://elixirforum.com/t/proposal-add-field-puns-map-shorthand-to-elixir/15452 [2] https://groups.google.com/forum/#!searchin/elixir-lang-core/short$20hand$20maps%7Csort:date/elixir-lang-core/XxnrGgZsyVc/KgJwV8e-CgAJ -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/BW61G5Z5X7VS.PI8K45781Z7C%40Justins-MacBook-Pro.local.
