Question : elixir eval ast
Answered by : william-plht4t83hw83
ast = quote do: IO.puts 1 + 10 * 2
Code.eval_quoted(ast)
// 21
// {:ok, []}
Source : | Last Update : Tue, 16 Feb 21
Answered by : william-plht4t83hw83
ast = quote do: IO.puts 1 + 10 * 2
Code.eval_quoted(ast)
// 21
// {:ok, []}
Source : | Last Update : Tue, 16 Feb 21