View Source ExKits.Macros.FunctionGenerator (ex_kits v0.2.7)
This module provides a macro for generating functions in Elixir code.
require FunctionGenerator
FunctionGenerator.generate_function :add, [a, b], do: a + b
This module provides a macro for generating functions in Elixir code.
require FunctionGenerator
FunctionGenerator.generate_function :add, [a, b], do: a + b