I don’t know if I quiet understand your question, but you can put as many functions as you please inside the quote do block in using.
For instance:
defmodule Using do
defmacro __using__(_opts) do
quote do
def a(), do: :a
def b(), do: :b
end
end
end
defmodule Foo do
use Using
end
And then
$iex -S mix
iex(1)> Foo.a
:a
iex(2)> Foo.b
:b






















