ExKits.Macros.FunctionGenerator (ex_kits v0.2.8)

View Source

This module provides a macro for generating functions in Elixir code.

require FunctionGenerator

FunctionGenerator.generate_function :add, [a, b], do: a + b

Summary

Functions

generate_function(name, args, code)

(macro)