instant-generics-0.2: Generic programming library with a sum of products view

Portabilitynon-portable
Stabilityexperimental
Maintainergenerics@haskell.org

Generics.Instant.Functions.Eq

Description

The equality function.

Documentation

class Eq a whereSource

Methods

eq' :: a -> a -> BoolSource

Instances

Eq Bool 
Eq Char 
Eq Double 
Eq Float 
Eq Int 
Eq Integer 
Eq U 
Eq a => Eq [a] 
Eq a => Eq (Maybe a) 
Eq a => Eq (Rec a) 
Eq a => Eq (Var a) 
(Eq a, Eq b) => Eq (a, b) 
Eq a => Eq (C c a) 
(Eq a, Eq b) => Eq (:*: a b) 
(Eq a, Eq b) => Eq (:+: a b) 

eq :: (Representable a, Eq (Rep a)) => a -> a -> BoolSource