large-generics-0.2.1: Generic programming API for large-records and large-anon
Safe HaskellSafe-Inferred
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?