Latest #comprehensions Threads 
The problem with my code is that for x ← list, do: x+5 always returns garbage (e.g., ~c"\a\t\n\f\r"). It seems that all other values work...
New
I am rendering a comprehension inside Liveview template (a list of reviews).
For each one when pressing a button I want to display an in...
New
Hi everyone,
This is a proposal for introducing local accumulators to Elixir. This is another attempt of solving the comprehension probl...
New
UPDATE: This proposal has been retracted. Read the new proposal here: Local accumulators for cleaner comprehensions
Hi everyone,
This i...
New
Hello all,
I’m going through the open source beta version of the Dockyard Academy curriculum (GitHub - DockYard-Academy/curriculum · Git...
New
there is this exercism exercise:
Given an input integer N, find all Pythagorean triplets for which a + b + c = N.
For example, with N ...
New
For a school assignment, I need to esentially brute-force check every possible solution for a puzzle. This is acceptable, as the task is ...
New
I’d like to generate a list from a variable length list of lists, choosing one element from each one. Like this:
list = [[:a, :b], [1, 2...
New
I understand these results:
iex(1)> for <<b::1 <- <<0xff::16>> >>, do: b
[0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1,...
New
Do you think a join option would be a good idea for comprehensions?
Something like Enum.map_join/2 that could map and join lists in a si...
New
This Week's Trending
This Month's Trending
This Year's Trending
The problem with my code is that for x ← list, do: x+5 always returns garbage (e.g., ~c"\a\t\n\f\r"). It seems that all other values work...
New
Last Three Year's Trending
Hi everyone,
This is a proposal for introducing local accumulators to Elixir. This is another attempt of solving the comprehension probl...
New
UPDATE: This proposal has been retracted. Read the new proposal here: Local accumulators for cleaner comprehensions
Hi everyone,
This i...
New
The stream-based implementation of Kernel.SpecialForms.for/1. Allows the same syntax as for and acts the same way. This is an initial ...
New
I am rendering a comprehension inside Liveview template (a list of reviews).
For each one when pressing a button I want to display an in...
New
Trending Over Three Years
Background
I am trying to up my Functional Programming (FP) skills and one of the things that newcomers first learn in FP is the Option T...
New
Hello everyone, I’m new to Elixir, Phoenix, and Liveview so I’m hoping that this question isn’t too basic.
I have a Liveview that curren...
New
I am trying to get my head around comprehensions and enum.each
I am trying to get phoenix to render a list of buttons.
My data structur...
New
Need help! need to optimize.
My terminal hangs when I run the code.
I have a list of 1_78_000 words i.e 178k words
I need pairs of wor...
New
I’d like to generate a list from a variable length list of lists, choosing one element from each one. Like this:
list = [[:a, :b], [1, 2...
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
Do you think a join option would be a good idea for comprehensions?
Something like Enum.map_join/2 that could map and join lists in a si...
New
Background
For the longest time I have been estranged to the magic lands of comprehensions in FP languages.
Now I am trying to pick it u...
New
I’m trying to figure out how to use Elixir’s version of for comprehensions.
The Phoenix live view generator creates this code in the liv...
New
Hi all, recently i have been trying out for comprehension after reading Introducing `for let` and `for reduce` and realizing i am also ha...
New
Hello all,
I’m going through the open source beta version of the Dockyard Academy curriculum (GitHub - DockYard-Academy/curriculum · Git...
New
I can do:
if true, do: :foo, else: :bar
and:
if true do
:foo
else
:bar
end
And I can do:
for i <- 0..3, do: {i, i+i}, into: %...
New
I have this list which has order and order_details. I want to update the quantity field inside order details by subtracting it with the q...
New
For a school assignment, I need to esentially brute-force check every possible solution for a puzzle. This is acceptable, as the task is ...
New
Hi,
What would be the recommended way to divide every item in an enumerable, in this case a list, by every item at the corresponding in...
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







