Introduction to Macro.escape
Learn about Macro.escape and its uses.
Macro.escape
is used to take an Elixir literal and recursively escape it for injection into an AST. Its use is required when we need to inject an Elixir value into an already-quoted expression where the value is not an AST literal.
A working example of its use in the Code Generation from Git API project is given in the next lesson!
Get hands-on with 1400+ tech skills courses.