Latest #language-implementation Threads Top

nhpip
Recently I’ve found myself with code that looks something like: def foo(arg1, arg2, arg3...argN) do # Do some work, creating variable...
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
mtvch
I was looking for a library for safely evaluating expressions written by users but didn’t find one that would match my needs. I wanted it...
New
mhanberg
The docs state: :end_of_expression - denotes when the end of expression effectively happens. Available for all expressions except the ...
New
nhpip
So I came from the Erlang world. Recently I got into a debate at work about underscored variables. Half of us (including me) do: def f...
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
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
Huolong
The top-level body-less function clause in a multi-head function is currently used for defining default argument values, and argument n...
New
knewter
Robert Virding is going to speak at the Birmingham Elixir remote meetup at 1PM CST on March 16th. I’m really excited. He’s going to talk ...
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

This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

sym_num
I created a Forth processor in Elixir. This is my hobby project. https://github.com/sasagawa888/Forth
New

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
mtvch
I was looking for a library for safely evaluating expressions written by users but didn’t find one that would match my needs. I wanted it...
New
nhpip
Recently I’ve found myself with code that looks something like: def foo(arg1, arg2, arg3...argN) do # Do some work, creating variable...
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

dogweather
I wrote this comment on r/haskell, and it’s not popular there. :wink: But I think I’m on to something… Haskell reminds me of Java, and e...
New
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
OvermindDL1
Just got an idea on how we could get a strongly typed elixir ‘now’. Imagine this: import TypedElixir defmodulet TypedTest do @moduled...
New
mmport80
Less is more with programming languages. To that end, what one feature would you remove from Elixir? (Except for the optional Lisp-like...
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
massimo
How difficult would it be to add the infix notation à la Haskell? I think it could improve readability on several occasions For example...
New
torimus
Hello. I’m relatively new to Elixir, but not to programming generally. In the learning process I’ve been recently struck with following...
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
AstonJ
When you see code like this: name = "José" How do you read it in your mind? In Ruby I would read it as: name, is set to, José In E...
New
AndyL
In the Smart Logic podcast Dave Thomas says that for him, Elixir has lost part of it’s shine. Listen at 54:30 - (Dave Thomas on Learning...
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
nhpip
So I came from the Erlang world. Recently I got into a debate at work about underscored variables. Half of us (including me) do: def f...
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