quickcheck-monoids-0.1.0.0: QuickCheck monoids
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.QuickCheck.Monoids

Description

Monoids using .&&. and .||..

They satisfy monoid laws with respect to the isSuccess unless one is using checkCoverage (see test for a counterexample).

Synopsis

Documentation

data All Source #

Conjunction monoid build with .&&..

Use `property @All` as an accessor which doesn't leak existential variables.

Constructors

∀ p.Testable p ⇒ All 

Fields

Instances

Instances details
Testable All Source # 
Instance details

Defined in Test.QuickCheck.Monoids

Methods

propertyAllProperty Source #

propertyForAllShrinkShowGen a → (a → [a]) → (a → [String]) → (a → All) → Property Source #

Monoid All Source # 
Instance details

Defined in Test.QuickCheck.Monoids

Methods

memptyAll #

mappendAllAllAll #

mconcat ∷ [All] → All #

Semigroup All Source # 
Instance details

Defined in Test.QuickCheck.Monoids

Methods

(<>)AllAllAll #

sconcatNonEmpty AllAll #

stimesIntegral b ⇒ b → AllAll #

data Any Source #

Disjunction monoid build with .||..

Use `property @Any` as an accessor which doesn't leak existential variables.

Constructors

∀ p.Testable p ⇒ Any 

Fields

Instances

Instances details
Testable Any Source # 
Instance details

Defined in Test.QuickCheck.Monoids

Methods

propertyAnyProperty Source #

propertyForAllShrinkShowGen a → (a → [a]) → (a → [String]) → (a → Any) → Property Source #

Monoid Any Source # 
Instance details

Defined in Test.QuickCheck.Monoids

Methods

memptyAny #

mappendAnyAnyAny #

mconcat ∷ [Any] → Any #

Semigroup Any Source # 
Instance details

Defined in Test.QuickCheck.Monoids

Methods

(<>)AnyAnyAny #

sconcatNonEmpty AnyAny #

stimesIntegral b ⇒ b → AnyAny #