Generates an Enum instance declaration for the given data type or data family instance.
Modulederiving-compat-0.6.8Haskell2010
Data.Enum.Deriving.Internal
Exports functions to mechanically derive Enum instances.
Note: this is an internal module, and as such, the API presented here is not guaranteed to be stable, even between minor releases of this library.
- 7 values
- Packagederiving-compat-0.6.8
- Exports7
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceInternal.hs
Enum
7 declarationsGenerates a lambda expression which behaves like enumFromThen (without requiring an Enum instance).