ConstEnum

ConstEnum is a simple constant enum library. This library has been refactored out from the library bacstack.

As such the functionality are primarily designed or intended for that library, but may be useful for other libraries, too.

Installation

The package can be installed by adding const_enum to your list of dependencies in mix.exs:

def deps do
  [
    {:const_enum, "~> 0.1.0"}
  ]
end

The docs can be found at https://hexdocs.pm/const_enum.