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.
Synopsis
- value deriveEq
- value makeEq
- value makeNotEq
- value deriveEq1
- value makeLiftEq
- value makeEq1
- value deriveEq2
- value makeLiftEq2
- value makeEq2
- Packagederiving-compat-0.6.8
- Exports9
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceInternal.hs
Generates a lambda expression which behaves like (==) (without
requiring an Eq instance).
Generates a lambda expression which behaves like (/=) (without
requiring an Eq instance).
Eq1
Generates 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
Generates 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.