“ Elixir is a metaprogrammable, functional language built atop the Erlang VM. It is a dynamic language with hygIenic macros that leverages Erlang's ability to build concurrent, distributed, and fault-tolerant applications with hot code upgrades.“ @JosEValim
defmodule MacroTest do defmacro if_not(pred, block) do quote do if(!unquote(pred)) do unquote(block) end end end def try_unless do if_not 1==2 do IO.puts "hey" end end end