Learn macro -- day01: how to define macro `break`
macro is defined as
use it in another module like:
mix compile shows error:
error: undefined variable "break"
.1 Reply
when use macro, if I use it as
break()
, it could compile, but I want the user use it as break
. The code is my practise to following book: "Metaprogramming Elixir_ Write Less Code, Get More Done"