Digging Deeper
Explore how to use Elixir's macros and code evaluation features to understand and manipulate the internal representation of code. Learn to dynamically rewrite functions and create new code safely using Elixir's homoiconic capabilities.
We'll cover the following...
We'll cover the following...
The Code and Macro modules contain the functions that manipulate the internal representation of code.
Check the source of the Kernel module for a list of the majority of the operator macros, along with macros for things such as def, defmodule, alias, and so on. If we look at the source ...