Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- defmodule B do
- defmacro hello do
- quote do
- {:ok, v} = {:ok, "bbb"}
- var!(v, B)
- end
- end
- defmacro inspect_v do
- quote do
- var! v, B
- end
- end
- end
- B.hello
- B.inspect_v
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement