Generates a Bounded instance declaration for the given data type or data family instance.
Modulederiving-compat-0.6.8Haskell2010
Data.Bounded.Deriving
Exports functions to mechanically derive Bounded instances.
- 3 values
- Packagederiving-compat-0.6.8
- Exports3
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceDeriving.hs
Bounded
3 declarationsderiveBounded limitations
0 declarationsBe aware of the following potential gotchas:
Type variables of kind
*are assumed to have Bounded constraints. If this is not desirable, use makeMinBound or one of its cousins.