EnumType v1.1.3 EnumType View Source

Generates Enumerated type modules that can be used as values and matched in code. Creates proper types so Dialyzer will be able to check bad calls.

Link to this section Summary

Link to this section Functions

Link to this macro default(option) View Source (macro)
Link to this macro defenum(name, list) View Source (macro)
Link to this macro defenum(name, ecto_type, list) View Source (macro)
Link to this macro value(option, value, list \\ [do: nil]) View Source (macro)