|
|
|
|
|
by dudul
762 days ago
|
|
> I'm sick of having to type everything twice, like e.g. `%{foobar: foobar}` I'm actually very confused by this use case. How often do you have to do that? Fill a map with kv tuples where keys and values have the exact same value? |
|
You do this quite a bit in Elixir, unless you use the . syntax, e.g. somemap.foobar which is marginally slower.