Generates an Eq instance declaration for the given data type or data family instance.
Modulederiving-compat-0.6.8Haskell2010
Data.Eq.Deriving.Internal
Exports functions to mechanically derive Eq, Eq1, and Eq2 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.
- 9 values
- Packagederiving-compat-0.6.8
- Exports9
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceInternal.hs
Eq
3 declarationsGenerates a lambda expression which behaves like (==) (without
requiring an Eq instance).
Generates a lambda expression which behaves like (/=) (without
requiring an Eq instance).
Eq1
3 declarationsGenerates an Eq1 instance declaration for the given data type or data
family instance.
Generates a lambda expression which behaves like liftEq (without
requiring an Eq1 instance).
This function is not available with transformers-0.4.
Generates a lambda expression which behaves like eq1 (without
requiring an Eq1 instance).
Eq2
3 declarationsGenerates an Eq2 instance declaration for the given data type or data
family instance.
This function is not available with transformers-0.4.
Generates a lambda expression which behaves like liftEq2 (without
requiring an Eq2 instance).
This function is not available with transformers-0.4.
Generates a lambda expression which behaves like eq2 (without
requiring an Eq2 instance).
This function is not available with transformers-0.4.