This Week's Trending
This Month's Trending
This Year's Trending
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
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
Dear all,
I have error when try mix phx.server
warning: using map.field notation (without parentheses) to invoke function FileSystem.Ba...
New
While profiling and optimizing some performance critical code, I noticed that Map.take was one of the biggest contributors to the overall...
New
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
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
I have a map:
@legacy %{
wooabsa: "woocommerce_gateway_absa",
woocommerce_absa: "woocommerce_gatewa...
New
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
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
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
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
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
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
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
Hi, how to convert a list like this to nested map in elixir ?
[
{"_id", "idhere"},
{"App-Version", "version_here"},
{"TX-ID", "tx-...
New
Hi!!
Im looking to do this but cant due to nested captures:
Enum.map( &Kernel.apply( &Kernel.-/2, &1 ) )
Certainly this ca...
New
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
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:
Sub Categories:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #elixirconf
- #discussion
- #javascript
- #podcasts
- #code-sync
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance
- #hex







