Compile-time work with Elixir macros

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.

 •  0 comments  •  flag
Share on Twitter
Published on October 09, 2015 17:00
No comments have been added yet.