Latest #lists Threads 
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
Hey all!
I’m releasing TaggedTupleShorthand today as an experiment with Elixir syntax.
Field Punning
The aim of the library is to suppo...
New
I’ve just publish something I’ve been experimenting with:
Since the discussion about local accumulators I’ve joined some discussions on...
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
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 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
I’m new to functional programming and I’d like to know the idiomatic way to convert a flat list of maps into a nested list.
For some bac...
New
Hi friends, I have a nested list that is unstructured, and I really know how much it has nested list or map in itself.
I just need to se...
New
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
As per the headline, I hereby use the opportunity to thank the LiveView team for finally introducing (as of v0.18.12) the long awaited me...
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
Hey all!
I’m releasing TaggedTupleShorthand today as an experiment with Elixir syntax.
Field Punning
The aim of the library is to suppo...
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’ve just publish something I’ve been experimenting with:
Since the discussion about local accumulators I’ve joined some discussions on...
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 s...
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 ->...
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 im...
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 e...
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
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
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
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
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
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
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
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
- #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
- #api
- #processes
- #forms
- #metaprogramming
- #security
- #performance
- #hex







