NOTE: the latest version is 1.4.0
Enum provides support for various different ways of defining an enum in Elm.
An enum is a list of possible values and a function for turning an instance of one into a string.
Creates an enum definition from a list of possible values and a definition opf the toString function.
toString
Looks up an instance of an enum from its string representation.
JSON Decoder for an enum
JSON Encoder for an enum.
Turns an instance of an enum into a string.
Creates an empty dict with an Enum key.
Enum
Creates a dict with a single entry with an Enum key.
An enum is a list of possible values and a function for turning an instance of one into a string.