Module
Test.Abides.Properties
- Package
- purescript-abides
- Repository
- athanclark/purescript-abides
#commutative Source
commutative :: forall b a. Eq b => (a -> a -> b) -> a -> a -> Boolean
f x y == f y x?
#associative Source
associative :: forall a. Eq a => (a -> a -> a) -> a -> a -> a -> Boolean
f (f x y) z == f x (f y z)?
#idempotent Source
idempotent :: forall a. Eq a => (a -> a) -> a -> Boolean
f (f x) == f x?
#distributive Source
distributive :: forall a. Eq a => (a -> a) -> (a -> a -> a) -> a -> a -> Boolean
f (g x y) == g (f x) (f y)?
#distributive' Source
distributive' :: forall b a. Eq b => (a -> b) -> (a -> a -> a) -> (b -> b -> b) -> a -> a -> Boolean
f (g x y) == g' (f x) (f y)?
- Modules
- Test.
Abides. Control. Alt - Test.
Abides. Control. Alternative - Test.
Abides. Control. Applicative - Test.
Abides. Control. Apply - Test.
Abides. Control. Bind - Test.
Abides. Control. Category - Test.
Abides. Control. Comonad - Test.
Abides. Control. Extend - Test.
Abides. Control. Monad - Test.
Abides. Control. MonadPlus - Test.
Abides. Control. MonadZero - Test.
Abides. Control. Plus - Test.
Abides. Control. Semigroupoid - Test.
Abides. Data. BooleaneanAlgebra - Test.
Abides. Data. Bounded - Test.
Abides. Data. BoundedEnum - Test.
Abides. Data. CommutativeRing - Test.
Abides. Data. DivisionRing - Test.
Abides. Data. Eq - Test.
Abides. Data. EuclideanRing - Test.
Abides. Data. Foldable - Test.
Abides. Data. Functor - Test.
Abides. Data. HeytingAlgebra - Test.
Abides. Data. Monoid - Test.
Abides. Data. Ord - Test.
Abides. Data. Ring - Test.
Abides. Data. Semigroup - Test.
Abides. Data. Semiring - Test.
Abides. Properties