abides-0.0.1: Simple boolean tests to see if a value abides by certain properties

Safe HaskellSafe
LanguageHaskell2010

Test.Abides.Data.Eq

Synopsis

Documentation

reflexive :: Eq a => a -> Bool Source #

x == x?

symmetry :: Eq a => a -> a -> Bool Source #

x == y => y == x?

transitive :: Eq a => a -> a -> a -> Bool Source #

x == y && y == z => x == z

negation :: Eq a => a -> a -> Bool Source #

x /= y => not (x == y)