Erlang does have quoting:
iex(53)> :merl.quote("dothing(x) -> x.")
{:function, 1, :dothing, 1,
[{:clause, 1, [{:atom, 1, :x}], [], [{:atom, 1, :x}]}]}
I’m not sure what the Elixir parser would do with this AST though.
Erlang does have quoting:
iex(53)> :merl.quote("dothing(x) -> x.")
{:function, 1, :dothing, 1,
[{:clause, 1, [{:atom, 1, :x}], [], [{:atom, 1, :x}]}]}
I’m not sure what the Elixir parser would do with this AST though.