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

Safe HaskellSafe
LanguageHaskell2010

Test.Abides.Data.Ord

Synopsis

Documentation

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

x <= x?

antisymmetry :: Ord a => a -> a -> Bool Source #

x y && y <= x = x == y

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

x y && y <= z = x <= z