property-0.0.1: common properties

Safe HaskellSafe
LanguageHaskell2010

Test.Property.Operation.Commutative

Synopsis

Documentation

commutative :: Eq r => (r -> r -> r) -> r -> r -> Bool Source #

\( \forall a, b: a \# b \equiv b \# a \)

commutative_on :: Rel r -> (r -> r -> r) -> r -> r -> Bool Source #

\( \forall a, b: a \# b \doteq b \# a \)