| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Data.Ord.Linear.Internal.Eq
Description
This module provides a linear Eq class for testing equality between
values, along with standard instances.
Documentation
Testing equality on values.
The laws are that (==) and (/=) are compatible
and (==) is an equivalence relation. So, for all x, y, z,
x == xalwaysx == yimpliesy == xx == yandy == zimpliesx == z(x == y)≌not (x /= y)
Instances
| Eq Bool Source # | |
| Eq Char Source # | |
| Eq Double Source # | |
| Eq Int Source # | |
| Eq Ordering Source # | |
| Eq () Source # | |
| (Consumable a, Eq a) => Eq [a] Source # | |
| (Consumable a, Eq a) => Eq (Maybe a) Source # | |
| Eq a => Eq (Ur a) Source # | |
| (Consumable a, Consumable b, Eq a, Eq b) => Eq (Either a b) Source # | |
| (Eq a, Eq b) => Eq (a, b) Source # | |
| (Eq a, Eq b, Eq c) => Eq (a, b, c) Source # | |
| (Eq a, Eq b, Eq c, Eq d) => Eq (a, b, c, d) Source # | |