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