Awesome
Kwfuns
Macros to create functions with syntax based keyword parameters with default values
Usage
defmodule MyModule do
use Kwfuns
# Now use the macros defkw or defkwp
...
end
Detailed Documentation can be found here
LICENSE
Same as Elixir, which is Apache 2.0, please refer to LICENSE for details.
Installation
If available in Hex, the package can be installed as:
-
Add kwfuns to your list of dependencies in
mix.exs
:def deps do [{:kwfuns, "~> 0.0.1"}] end
-
Ensure kwfuns is started before your application:
def application do [applications: [:kwfuns]] end