large-generics-0.2.0.0: Generic programming API for large-records and large-anon
Safe HaskellNone
LanguageHaskell2010

Data.Record.Generic.Eq

Synopsis

Documentation

geq :: (Generic a, Constraints a Eq) => a -> a -> Bool Source #

Generic equality function

Typical usage:

instance Eq T where
  (==) = geq

TODO: Should we worry about short-circuiting here?