I have this weird behaviour with quoting n
in iex. (1.14.3-otp25 on mac)
iex(1)> ast = quote(do: n)
{:n, [if_undefined: :apply, context: Elixir, imports: [{0, IEx.Helpers}]], Elixir}
iex(2)> Code.eval_quoted(ast)
{:"do not show this result in output", []}
# iex crashes
Interactive Elixir (1.14.3) - press Ctrl+C to exit (type h() ENTER for help)
with other vars I get the expected result.
iex(1)> ast = quote(do: nn)
{:nn, [], Elixir}
iex(2)> Code.eval_quoted(ast)
warning: variable "nn" does not exist ...