Macros are a very common way to do metaprogramming in Elixir. There are manyresources that explain what macros are and how to use them (much better than Icould): there���s the Macro chapter from the���Getting Started��� guide on Elixir���s website, an awesomeseries of articles by Sa��a Juri��, and even abook (Metaprogramming Elixir) by Chris McCord. In thisarticle, I���ll assume you are familiar with macros and how they work and I���lltalk about another use case of macros that is rarely examined: doingcompile-time things in macros.
Published on October 09, 2015 17:00