Latest #map Threads Top

riccardomanfrin
I wrote a sample module that overrides Jason.Encoder.encode protocol for Map. defmodule JsonEncoder do defimpl Jason.Encoder, for: Map...
New
user20230119
I want to use get_in(data, keys) for a nested map with some values having a list with maps. map = %{a: 1, aa: [%{b: 2}, %{bb: 22}], aaa:...
New
ariandanim
Dear all, I have error when try mix phx.server warning: using map.field notation (without parentheses) to invoke function FileSystem.Ba...
New
formingform
Hello! I’m trying to filter list of maps to remove items where value of key was declared previously in this list. List that I have: lis...
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
erix
I have a map: @legacy %{ wooabsa: "woocommerce_gateway_absa", woocommerce_absa: "woocommerce_gatewa...
New
eltoncampos1
In a case you have to create a Map with 15 ~ 20 fields, who is more performatic? A hardcoded map %{foo: 1, bar: 2, baz: 3 ...} Or build...
New
Yegair
While profiling and optimizing some performance critical code, I noticed that Map.take was one of the biggest contributors to the overall...
New
Laurent
In some tests, we need to compare 2 structs between each other. However when we build the test struct: this is done manually %{ data...
New
shahryarjb
Hello friends, I have a list that I want to update it (3 level nested), and I need your suggestion to create better code The list elemen...
New

This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

riccardomanfrin
I wrote a sample module that overrides Jason.Encoder.encode protocol for Map. defmodule JsonEncoder do defimpl Jason.Encoder, for: Map...
New

Last Three Year's Trending Top

Laurent
In some tests, we need to compare 2 structs between each other. However when we build the test struct: this is done manually %{ data...
New
ariandanim
Dear all, I have error when try mix phx.server warning: using map.field notation (without parentheses) to invoke function FileSystem.Ba...
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
Yegair
While profiling and optimizing some performance critical code, I noticed that Map.take was one of the biggest contributors to the overall...
New
eltoncampos1
In a case you have to create a Map with 15 ~ 20 fields, who is more performatic? A hardcoded map %{foo: 1, bar: 2, baz: 3 ...} Or build...
New
formingform
Hello! I’m trying to filter list of maps to remove items where value of key was declared previously in this list. List that I have: lis...
New
erix
I have a map: @legacy %{ wooabsa: "woocommerce_gateway_absa", woocommerce_absa: "woocommerce_gatewa...
New
user20230119
I want to use get_in(data, keys) for a nested map with some values having a list with maps. map = %{a: 1, aa: [%{b: 2}, %{bb: 22}], aaa:...
New

Trending Over Three Years Top

rrrr
What is Elixir way to “merge” / “map” two sparse maps onto one? I want to apply some function on both or single value from these maps. By...
New
sribe
Given the output of IO.inspect on a map, is there any way to parse that string back into a map? For a one-shot hack, one could put them ...
New
kimc0de
Hi all, I have a .txt file with information like this 11111 0 11112 1 11113 2 11114 3 11115 4 11116 5 11121 6 11122 7 … 66664 z...
New
experimentix
Hello I’m new to elixir and i’m struggling with this problem I’ve a map lets call it order and that has several products I want to loo...
New
shahryarjb
Hello friends, I have a list that I want to update it (3 level nested), and I need your suggestion to create better code The list elemen...
New
Rory
Hi, Been lurking here for a while (that is, via google), gotten a lot of help from people’s Q&As in the past, but I’ve gotten stuck ...
New
koolquark
Hi, how to convert a list like this to nested map in elixir ? [ {"_id", "idhere"}, {"App-Version", "version_here"}, {"TX-ID", "tx-...
New
czrpb
Hi!! Im looking to do this but cant due to nested captures: Enum.map( &Kernel.apply( &Kernel.-/2, &1 ) ) Certainly this ca...
New
shahryarjb
Hi folks, In an interview, the interviewer asked me, imagine you use a Task and send four requests to 4 APIs. When 2 or 3 requests answe...
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