This Week's Trending
This Month's Trending
This Year's Trending
I heard that editing a tuple is a much more expensive operation then editing a list
i just don’t get the why, when a list is mutated a n...
New
Last Three Year's Trending
Hello.
I’m trying to check if a list has duplicates.
I didn’t have problems doing it with length and size:
def duplicate(list) do
...
New
How can I efficiently append one entry to a list? Is this the best solution:
history = [{1,100}, {2,300}, {3,200}]
current = {4,150}
ch...
New
Heya.
I am inviting you to copy-paste the module below and add your own functions and measure them, or simply give other ideas about how...
New
I did not formally study Computer Science, so please bear with me if I am missing something obvious. I am studying the inner workings of ...
New
I have the following list:
[
:juridical_person_document,
[re_developments: [[properties: [[re_development: [:re_developer]]]]]],
...
New
I am keeping connections to a list of servers represented by URLs. Each of them has a pid if connected.
Ideally, I’d like to have a simp...
New
Greetings friends!
I am reading through SCIP and using Elixir to help me work through the material (to better understand both the materi...
New
I have a function that takes a list as input. If I call the function with a range e.g.
0..3 it doesn’t work. I assume I need to make ano...
New
Trending Over Three Years
Often I want to create a list in Elixir that contains certain elements, but only if specific conditions are met for each element or group...
New
I have a list. I am trying to choose specific combinations from that list and making a list of list of those combinations.
My code runs ...
New
Hello everybody,
As it’s possible to partially pattern match with maps like so:
iex> %{b: 2} = %{a: 1, b: 2, c: 3}
%{a: 1, b: 2, c: ...
New
On a page there’re 3 columns. And I have a list of objects. Every object should go one of the 3 columns in the subsequent order.
1 → 1, ...
New
I have a list of tuple like this
tuple = [{"id", "provider_id"}, {"cost", "price"}] .
And i have list of maps:
list_of_maps...
New
A proper list is a list that ends in an empty list, such as:
[1, 2, 3] (which is syntactic sugar for [1 | [ 2 | [3 | [] ] ] ] )
An impr...
New
And how to convert the above list to [1, 2] (i.e. to list of integers). Thank you.
New
Hi community,
Being a newbie, this question may seems obvious for you, functional veterans (i’m discovering new skies with elixir and er...
New
I need to turn an integer into a list of digits.
For example, given 1234 as input, the output should be [1, 2, 3, 4].
I am doing this r...
New
What is the Elixir equivalent to Ruby’s Hash.new where you can specify a block that returns an empty list when you access a non-existent ...
New
Hi,
Is there an easier way to convert a list of structs to map. Extracting fields from the struct and in the nested struct and make it a...
New
Hi everybody,
Edit for TL;DR:
How I can use SQL array_agg aggregate function with an Ecto fragment.
Particularly how I can nest the se...
New
Hi, I have a list which includes some string or integer item that I need to convert it to string with a character like “/”, then I used E...
New
Hey guys, just want a little help.
(1) How can I compare two list of maps and always supersedes list_2 over list_1 if they have the same...
New
I’m managing my Postgres database with Ecto and I have come across a situation: In some of the fields for some of my records, I save empt...
New
- Follow
- Join
- Shape
the conversation
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
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ai
- #ecto-query
- #elixirconf-us
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #elixirconf-eu
- #api
- #forms
- #metaprogramming
- #hex









