This Week's Trending
This Month's Trending
This Year's Trending
Last Three Year's Trending
Hi,
I am wondering why my solution wil not work
1. source: Perfect Numbers in Elixir on Exercism
2. solution attempt:
@spec classify(...
New
Trending Over Three Years
Hi,
Simple thing but I cannot seem to find it anywhere. How do I do a case with greater than?
As in:
case Kernel.length my_list do
0 ...
New
Here nums is a list of [list of {tuples}].
nums = [[{5,2}], [{10,2},{4,5}], [{6,5},{3,10},{2,15}]]
I want to print output like this:
1...
New
Hi OGs,
I have a function as follow:
defp comparing_statuses(duplicates) do
statuses = count_duplicates_statuses(duplicates)
c...
New
(pretty new to Elixir here…)
sometimes I see:
case [...] do
{:ok, [...]} -> [...]
# using _ as default
{_, other} -> {:erro...
New
Hello,
I’d like to kindly ask about using case vs. other statements/conditions.
I different languages (all OOP) I used if/else most of ...
New
Hello! I am having issues with the Elixir formatter and a long case expression. What’s happening is that this:
defmodule Test do
def e...
New
Hi.
I’m always looking for ways to make code more manageable, readable, and nice to look at. To this end, matching and the case-do state...
New
case Date.compare(date1, date2) do
:lt-> doA()
:gt -> doB()
:eq -> doA(); doB()
end
Thinking is there a w...
New
Some years ago, I switched my case statement handling to something like this:
case some_operation() do
{:ok, _} = ok -> ok
{:erro...
New
I would like to have your opinions about a very simple example, because I worked with imperative languages so far only, and I would like ...
New
Hi,
I am trying to apply different calculations depending on gender using ‘case do’ however I get variable "user_bmr" is unused. What am...
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
- #api
- #processes
- #forms
- #metaprogramming
- #security
- #performance
- #hex







