Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Use this type to add an Eq
instance for types that don't have one or
for which one doesn't make sense, but an Eq
instance is needed for
testing purposes.
Instances
Generic (WithEq a) Source # | |
Show a ⇒ Show (WithEq a) Source # | |
Eq (WithEq a) Source # | |
type Rep (WithEq a) Source # | |
Defined in Test.Util.WithEq type Rep (WithEq a) = D1 ('MetaData "WithEq" "Test.Util.WithEq" "ouroboros-consensus-0.21.0.0-inplace-unstable-consensus-testlib" 'False) (C1 ('MetaCons "WithEq" 'PrefixI 'True) (S1 ('MetaSel ('Just "getId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Id) :*: S1 ('MetaSel ('Just "unWithEq") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a))) |