derive-0.1.3: A program and library to derive instances for data typesSource codeContentsIndex
Data.Derive.Enum
Description
Derivation for Enum, as defined by the Haskell 98 Language report, except that we support arbitrary types. toEnum (and derived functions, notably succ and pred) use undefined to fill all fields of nonzero arity constructors.
Documentation
makeEnum :: DerivationSource
Produced by Haddock version 2.4.2