genthaler/elm-enum - version: 1.0.2

for more information visit the package's GitHub page

Package contains the following modules:

elm-enum

A library to facilitate using Elm union types as Enums

This module came out of this Discourse discussion

In the original discussion, there was concern about putting a function in the record, with the potential for having a function in the model and thereby causing serialization issues. In the admittedly simple example project included, the Enum never had a reason to be in the model.

Travis-CI build Status

AppVeyor build status