This Week's Trending
This Month's Trending
This Year's Trending
I have quite a few files in my project that have many function heads(100s to 1000s). I don’t think these can easily be replaced with anot...
New
So I’m building a couple of projects with Elixir/Ash/Phoenix/Inertia/React and I’m being EXTREMELY productive with this stack — I mean it...
New
Hi,
I’m in the process of upgrading from Elixir 1.17.x to Elixir 1.19.x. I’ve noticed that running mix loadpaths now compiles the entire...
New
I need to be able to get the Erlang AST which the Elixir compiler generates. So my question is:
Is it possible to get the Elixir compile...
New
Hi.
I was wondering if the compiler makes any optimization for constructs like below.
# Let’s define `my_func`
def my_func(:ok, param) ...
New
I’m working on a small library that, when use-ed in a client project, reads some external files and compiles those files into Elixir func...
New
In my project, I have a compile-time code that can generate some warning depending on some circumstances.
To show the warning I do IO.wa...
New
Hi all,
I’m trying to get up to speed with elixir and have just stumbled across a compiler warning that I find a bit puzzling. I was won...
New
I have a macro that expands into a module definition. The use case is that we take a testcase defined in one elixir module (parent) and m...
New
Something I noticed; haven’t investigated deeply but I decided to query here:
Previously, when I would do a change in a dep that I was t...
New
Last Three Year's Trending
Hey guys,
I just installed Elixir 1.10 on my Arch Linux and I am starting to learn this nice language.
I am experiencing some problems ...
New
Can Elixir code detect whether it is executing at compile time? I would like to write something like the following macro:
defmacro foo()...
New
I generally enable warnings_as_errors in order to have the compiler fail hard in situations like invoking non-existing remote functions. ...
New
I am trying to hook into the @doc deprecated: "message" annotation using __on_definition__.
defmodule ExampleCompiler do
def __on_defi...
New
I’d like to get compiler warnings as errors in my tests, because in my experience, such warnings quite often uncover real bugs.
What I’v...
New
Hello :wave:
I was working on upgrading one of our apps to 1.17 this morning and came across the compiler warning.
pattern matching on ...
New
Hi,
In trying to upgrade from Elixir 1.14 to 1.15, I’m getting an error whenever I try to compile Elixir files under OEL7 (which I reali...
New
I am trying to understand why transitive compile-time dependency is there, and what’s a good strategy to remove it. The mix app for examp...
New
In this case, considering we don’t have any overlapping function names, is it worth it to use only as a means of asserting that we’re onl...
New
Elixir 1.17 changelog states:
At the moment, Elixir developers will interact with set-theoretic types only through warnings found by th...
New
Hi! I’m continuing my battle (1, 2) against transitive compile-time dependencies on a large code base :slight_smile:
This time I am faci...
New
The following code results in a warning that is difficult for me to understand:
defmodule Mod do
def hello(name) do
map = Map.new(...
New
I’m working on a bullet-proof live reload mechanism in Hologram, and I need a reliable way to be notified when any module in a Phoenix ap...
New
I need to run a mix task after every time Phoenix 's CodeReloader runs. The following is the single line of code I need to hook up.
S...
New
It’s come up a few times recently how the following code snippets are equivalent when compiled:
def Foo do
def foo do
String.capit...
New
Trending Over Three Years
Credo is smart enough to check for (something like) this:
assert length(the_list) == 0
with this response:
Checking if an enum is empt...
New
In my controller, I improved and prevent dirty code in my project, for example, I was trying to put my params in variable like this:
Ori...
New
Hey everyone!
I’m working on optimising our build pipeline. I have a flow that looks like:
– compile
– dialyzer, test etc
These are e...
New
TLDR: :compile_time_purge_level and dependency compilation are your friends.
Moments ago I published my first Elixir package on hex! Wh...
New
I was using asdf to install the latest Apple Silicon compiled versions of Erlang and Elixir to use on a Phoenix project that employs the ...
New
When calling Code.compile_quoted which recompiles existing module I constantly get this warning:
warning: redefining module TheModule (c...
New
In my mix.exs I used to be able to call other Modules in order to fetch some configurations for my application-env configuration. Somehow...
New
Hi there,
I am currently working on a Forum/community system in Elixir using Phoenix. First everything was nice, but slowly the compile ...
New
Hi, I would like to make in the near future a programming language like https://vlang.io/
I think Elixir is an excellent candidate for t...
New
Background
We are currently testing a module with 10 millions functions. This is an automatically generated module that we (pesky humans)...
New
Hi,
I’m trying to track down why my testing experience is such a pain because there’s always many files being compiled… I’ve used the in...
New
Elixir’s new version has a new compiler check specified here: link
After upgrading Elixir, now I receive a lot of these compiler warning...
New
I noticed that while compiling an application, ParallelCompiler will compile multiple modules in parallel, as long as the dependencies be...
New
defmodule Benchmark do
def main do
module_function = Foo.main
_ = module_function
end
def run(params) do
number_of_trials = En...
New
I’m not sure how to best describe this issue, but I’ve started to notice this recently and I don’t know what changed that started to trig...
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







