Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
When providing a new instance, you should ensure it satisfies the four laws: * Reflexivity: x == x ≡ True * Symmetry: x == y ≡ y == x * Transitivity: x == y * y == z ≡ True ===> x == z ≡ True * Negation: x /= y ≡ invert (x == y)