Skip to content

RobertDober/lab42_defkw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kwfuns

Build Status Hex.pm Inline docs

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:

  1. Add kwfuns to your list of dependencies in mix.exs:

    def deps do [{:kwfuns, "~> 0.0.1"}] end

  2. Ensure kwfuns is started before your application:

    def application do [applications: [:kwfuns]] end

About

Functions with syntax for keyword arguments and defaults

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published