derive-2.5.5: A program and library to derive instances for data types
Data.Derive.Enum
makeEnum :: DerivationSource
dslEnum :: DSLSource