This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

pejrich
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
rvirding
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
cblavier
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
mszmurlo
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
sezaru
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
hannesveit
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

Last Three Year's Trending Top

alice
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
addrummond
Can Elixir code detect whether it is executing at compile time? I would like to write something like the following macro: defmacro foo()...
New
xpg
I generally enable warnings_as_errors in order to have the compiler fail hard in situations like invoking non-existing remote functions. ...
New
arjan
I am trying to hook into the @doc deprecated: "message" annotation using __on_definition__. defmodule ExampleCompiler do def __on_defi...
New
schnittchen
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
herman
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
kerryb
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
gmile
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
cashews
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
Asd
Elixir 1.17 changelog states: At the moment, Elixir developers will interact with set-theoretic types only through warnings found by th...
New
gmile
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
dwark
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
sodapopcan
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
japplegame
It appears that structures created with the %Struct{...} syntax do not share the key tuple. Compare: iex> Enum.map(1..1000, &%UR...
New
a.shaw
When running Dialyzer in CI, we use the --format github option. This formats errors like: ::warning file=lib/file.ex,line=19,title=no_re...
New

Trending Over Three Years Top

bsollish-terakeet
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
samphilipd
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
jmitchell
TLDR: :compile_time_purge_level and dependency compilation are your friends. Moments ago I published my first Elixir package on hex! Wh...
New
wallyfoo
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
hst337
When calling Code.compile_quoted which recompiles existing module I constantly get this warning: warning: redefining module TheModule (c...
New
PJUllrich
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
PhaserKell
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
Fl4m3Ph03n1x
Background We are currently testing a module with 10 millions functions. This is an automatically generated module that we (pesky humans)...
New
schnittchen
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
sezaru
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
jeroenvisser101
I noticed that while compiling an application, ParallelCompiler will compile multiple modules in parallel, as long as the dependencies be...
New
Maxximiliann
defmodule Benchmark do def main do module_function = Foo.main _ = module_function end def run(params) do number_of_trials = En...
New
sashaafm
Hey guys, continuing from my other thread I’m still building and exploring some compile-time stuff that Elixir can provide. Right now I’...
New
loxs
I need this for statistical reasons and "all" is a very loose term. It's OK if I don't find absolutely all places, though I'd like it if ...
New
sashaafm
Hello, I was wondering if there's a way to do something at the end of application's compilation? For example, there are the @before_compi...
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