Latest #elixir-map Threads 
Elixir is sorting map by key name in ascending order, but I don’t want this behaviour. It is causing me to have undesired reports output....
New
Hey everyone!
How can I keep the original ordering of a Map?
I’ve created one and notice that after the creation, the order of elements...
New
I’m encountering a strange issue when using Enum.filter/2 in my Elixir script. The problem occurs when I filter a list with a condition t...
New
I’ve just released what I believe is a production-ready version of my library, es6_maps.
es6_maps hacks into the Elixir compiler to enab...
New
I’m trying to impelent GraphQL API in my project. I’m new in GraphQL, only read one article. I don’t understand how to convert :map field...
New
I currently have two list data.
data1 = [%{id: "111", name: "name1"},
%{id: "222", name: "name2"},
%{id: "333", na...
New
Let’s say I have nested map like this :
data = %{
gps: %{
lat: 48.857144,
lon: 2.340242,
altitude: 35.0
...
New
I’m trying to implement an efficient generic function to map the results from a Postgrex call into a map. Any suggestions?
Example resu...
New
Hello,
I have some trouble accessing elixir maps, I didn’t figure out the way to because there is 3 ways :
body = %{
test: valu...
New
Hi OGs,
How can I delete the 1st pair in a map ?
Thank you
New
This Week's Trending
This Month's Trending
This Year's Trending
Last Three Year's Trending
Hello guys, can you please help turn this map into a pure map. Some of the members of the map are still structs.
%{
callback_query: ni...
New
I’ve just released what I believe is a production-ready version of my library, es6_maps.
es6_maps hacks into the Elixir compiler to enab...
New
Elixir is sorting map by key name in ascending order, but I don’t want this behaviour. It is causing me to have undesired reports output....
New
Hey everyone!
How can I keep the original ordering of a Map?
I’ve created one and notice that after the creation, the order of elements...
New
I’m trying to impelent GraphQL API in my project. I’m new in GraphQL, only read one article. I don’t understand how to convert :map field...
New
I’m encountering a strange issue when using Enum.filter/2 in my Elixir script. The problem occurs when I filter a list with a condition t...
New
Trending Over Three Years
The documentation says:
Keys in maps can be accessed through some of the functions in this module (such as Map.get/3 or Map.fetch/2) or...
New
this is a question of the computer science. Is Elixir map a hash table? Or is it a keyword list having unique keys? I ask this because ...
New
Hello all,
I have a list of structs, and I want to iterate through each element and from each element create a new map with multiple key...
New
Hi OGs,
How can I delete the 1st pair in a map ?
Thank you
New
I often see the “shortcut syntax” for updating maps / replacing values using pipe character being advocated. Something like:
iex(19)>...
New
How can I update all values in a map, using the values from corresponding keys of another map? For example I have the two maps bellow:
m...
New
Hello everyone,
I need to combine a list of Maps into a shorter list of maps, using a specific value as aggregator and key as conditiona...
New
I currently have two list data.
data1 = [%{id: "111", name: "name1"},
%{id: "222", name: "name2"},
%{id: "333", na...
New
I’ve been working on a RabbitMQ publisher and discovered that you can only publish strings to a RabbitMQ queue. The problem is I’m trying...
New
Let’s say I have nested map like this :
data = %{
gps: %{
lat: 48.857144,
lon: 2.340242,
altitude: 35.0
...
New
I would like to sort that kind of List of weighted maps:
[
%{"this is a string" => 24},
%{"en français" => 11}
]
into a weig...
New
Hi. Suppose that I have this map:
session = %{
user: %{
get_image: fn -> %{image: "abcd.jpg"} end
}
}
And I want to get imag...
New
I’m trying to implement an efficient generic function to map the results from a Postgrex call into a map. Any suggestions?
Example resu...
New
Hello friends,
I have a JSON file in which I save some information about my apps and their dependencies, so some of my app dependencies ...
New
I don’t understand how Map.new/2 is a drop-in replacement of Map.map/2 since I get an error when I swap them. Maybe this is obvious but I...
New
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #ash-questions
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #discussion
- #javascript
- #elixirconf
- #library
- #oban-questions
- #dialyzer
- #docker
- #onsite
- #authentication
- #podcasts
- #full-time-contract
- #umbrella
- #code-sync
- #ecto-query
- #phoenix_html
- #iex
- #graphql
- #genstage
- #elixir-ls
- #nerves-questions
- #podcasts-by-brainlid
- #supervisor
- #websockets
- #distillery
- #advent-of-code
- #blog-post
- #livebook-questions
- #processes
- #forms
- #api
- #metaprogramming







