Data.Eq
lib/Data/Eq.gob
No module comment.
class Eq a
fun eq : [Eq a] fun(a, a) -> Bool
fun ne : [Eq a] fun(a, a) -> Bool -- has a default
infix Equality (==) = Eq.eq -- left-associative
infix Equality (!=) = Eq.ne -- left-associative
instance Eq Prim.Ptr
Addresses, equal when they are the same address. Here because Prim.Ptr
is built in, and an instance for a built-in type goes with its class.
instance Eq Unit