definition: |
class Eq a where (==), (/=) :: a -> a -> Bool x == y = not (x /= y) x /= y = not (x == y) |
documentation: |
--- The class `Eq` defines an equality (`==`) and an inequality (`/=`) method. --- Instances of this class should define an equivalence relationship --- on values. For basic data types, the instances are defined as --- syntactic equality of values. |
methods: |
["(==) 2 :: a -> a -> Bool","(/=) 2 :: a -> a -> Bool"] |
name: |
Eq |