This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

Last Three Year's Trending Top

Ryzey
I know that uniq/1 & uniq_by/2 return a list of unique values, but what is the best way to get a list of duplicate values? I noticed...
New
nhpip
I know this is a really minor peeve, but why is this the case?: iex(cs@localhost)54> %{key1: :i_am_a_map_whooot} |> Enum.map(&...
New
mhanberg
The docs state: :end_of_expression - denotes when the end of expression effectively happens. Available for all expressions except the ...
New

Trending Over Three Years Top

cpackingham
How do I use an arbitrary number of arguments in an anonymous function? Ex. in JavaScript …args Ex. in Python *args I need to be abl...
New
zorn
Is Kernel.length/1 intended only for guards? I feel like I see people using length(items) in non-guard scenarios. Should I prefer it over...
New
7stud
I’m trying to use a require statement: my_lib.exs: defmodule MyLib do require MyMath def go(), do: MyMath.calc(1, 2) end Here’s...
New
lorefnon
OCaml provides a facility to parameterize modules (modules which accept other modules as arguments) through functors (this is different f...
New
kostonstyle
Hi all Could someone please tell me, what is the purpose of Process.sleep(:infinity). The code is from: defmodule A do use GenStage ...
New
cblavier
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
aethereus
An irrelevant question, there are function names like Integer.is_odd, and there are function names like Enum.empty?, why the two differen...
New
ltsigauke
I’ve been reading through the code for Elixir supervisors for my own curiosity; when start_child is called in the code it then passes thr...
New
jackbpaiva
Good morning people. I am having a question about how I could do a function that would do an external access and then I would add this s...
New
slouchpie
Consider this code: with {:a, first_result} <- {:a, List.first(["apple"])}, {:b, b} <- {:b, %{} |> to_string} do {:ok, ...
New
ijverig
My question is regarding the implementation of the language: In Erlang we have element to access tuple elements, setelement to change el...
New
keep_zen
Not a long ago I ask why the first of parame of def named call in there. Now I have a related question, what is the name of the part of...
New
bluegene
Recently after spending an hour debugging/staring at a code, I found out that one or more blankspaces are allowed when invoking a functio...
New
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement