This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

Last Three Year's Trending Top

Qqwy
This morning, I came to a sudden realization: Elixir’s Macro system is even more powerful than I’d thought. My mind is blown. Let me tr...
New
Crowdhailer
It is rare to use direct calls to send in elixir. The call is normally wrapped in a function which is responsible for sending the correct...
New
linusdm
After reading Metaprogramming Elixir, and the hexdocs on metaprogramming and macros, I was wondering how this ties into macros we use eve...
New
jarlah
Hi everyone Not sure if this is usable and/or interesting, but I have been working on a pet project of mine, that in lack of better fant...
New
New
type1fool
@ryanwinchester Thanks for this article! I knew this was possible, and the examples made it clear how to implement handler fallbacks. Thi...
New

Trending Over Three Years Top

Qqwy
EDIT: CapturePipe has been released as a library! Please give it a go and let us know if you find any mistakes. Hi everyone! Yesterda...
New
Qqwy
Hi all! As you may know, it is very common in idiomatic Elixir code to work with transformations on datastructures, especially those imp...
New
stephanos
Hi! I’ve been tinkering with bringing Clojure.spec to Elixir (I’m aware of prior art here, but want to experiment with a different synta...
New
Crowdhailer
My opinion very much undecided on this Question so all comments welcome. This is probably best discussed using the concrete example I am...
New
danj
I wanted to share this code for a problem that regularly comes up and that I usually solve with multi-headed functions or with clauses. T...
New
Crowdhailer
I have started experimenting with a web routing Domain Specific Language(DSL). The DSL is inspired from working with several minimal web...
New
fceruti
I just wanted to share with you a small macro that has cleaned up many many lines of code for me. Basically in my contexts I had this ki...
New
Qqwy
Hello everyone to this week’s edition of ‘metaprogramming with @qqwy’. This week I was thinking a lot about libraries that override buil...
New
hlship
I can see that it’s a callback from Phoenix.Endpoint, but I’ve gotten a bit lost in macro expansion. A view will alias Routes to .Router...
New
Qqwy
Hi everyone! I recently had an idea. This is by no means a revolutionary concep, and other people probably have thought about it before ...
New
KristerV
i’ve recently gotten annoyed at having to jump between files just to check what that function i’m using will return. VS Code could be of ...
New
dogweather
Would it be possible for Mix.Config’s config to be a macro which creates accessor functions for the environment variables? E.g.: # confi...
New
Qqwy
Recently I found out that you can get rather creative with Elixir’s metaprogramming as its AST lets itself be bent into some fancy shapes...
New
jtormey
I’m sure some of you have experienced this as well, in a growing LiveView application it can become difficult to trace flow of data betwe...
New
Nicd
I made a little study because I’ve been thinking about what a Phoenix / Plug app would look like without any macros: Mikko Ahlroth / Feen...
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