Created
December 5, 2017 16:17
-
-
Save wpcarro/b795e18f9b30d2f9ddf99d906db2b987 to your computer and use it in GitHub Desktop.
Debugging Elixir private macro usage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule PrivateMacros do | |
@moduledoc false | |
defmacrop test() do | |
quote do | |
IO.inspect("I compiled") | |
end | |
end | |
test() | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment