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
joangavelan
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
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
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
mszmurlo
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
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
Oliver
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
ken-kost
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 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
bartblast
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
fceruti
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
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

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
shahryarjb
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
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
cjk
Hi there, I am currently working on a Forum/community system in Elixir using Phoenix. First everything was nice, but slowly the compile ...
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
DavidVII
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
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement