This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
1.0.1 1.0.2
A library to facilitate using Elm union types as `Enum`s
version 1.0.0
license BSD3
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 1.0.0
Committed At 2018-07-05 12:03:50 UTC
elm-lang/html 2.0.0 <= v < 3.0.0 2.0.0
elm-lang/core 5.0.0 <= v < 6.0.0 5.1.1

Modules

README

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