Latest #elixir-map Threads Top

kamaroly
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
tadeifelipe
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
holasoymas
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
kzemek
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
Vovchikan
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
zhanjingbaobao
I currently have two list data. data1 = [%{id: "111", name: "name1"}, %{id: "222", name: "name2"}, %{id: "333", na...
New
zatae
Let’s say I have nested map like this : data = %{ gps: %{ lat: 48.857144, lon: 2.340242, altitude: 35.0 ...
New
hauks96
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
xgeek116
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
docjazither
Hi OGs, How can I delete the 1st pair in a map ? Thank you
New

This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

Last Three Year's Trending Top

tovarchristian21
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
kzemek
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
kamaroly
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
tadeifelipe
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
Vovchikan
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
holasoymas
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 Top

silverdr
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
Samuel-88
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
vrod
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
NewBee
hey, So I have this function def update( conn, %{ “expense_id” => id, “name” => _name, ocr => _ocr } = payload ) d...
New
docjazither
Hi OGs, How can I delete the 1st pair in a map ? Thank you
New
silverdr
I often see the “shortcut syntax” for updating maps / replacing values using pipe character being advocated. Something like: iex(19)>...
New
Samuel-88
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
germanoclodi
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
zhanjingbaobao
I currently have two list data. data1 = [%{id: "111", name: "name1"}, %{id: "222", name: "name2"}, %{id: "333", na...
New
peppy
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
zatae
Let’s say I have nested map like this : data = %{ gps: %{ lat: 48.857144, lon: 2.340242, altitude: 35.0 ...
New
jpcaruana
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
hauks96
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
thantez
Hi. Suppose that I have this map: session = %{ user: %{ get_image: fn -> %{image: "abcd.jpg"} end } } And I want to get imag...
New
sahilpaudel
I want to get just the id and name from the object the rest of the data are irrelevant to me. Can you pleas help me how to go about that...
New
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement