CurryInfo: easycheck-3.2.0 / Test.EasyCheck.test

definition:
 
test :: Show a => a -> ([a] -> Bool) -> Prop
test x f = Prop [setResult res notest]
 where
  xs  = valuesOf x
  res = case valuesOf (f xs) of
          [True]  -> Ok
          [False] -> Falsified (map show xs)
          bs      -> Ambigious bs (map show xs)
demand:
 no demanded arguments
deterministic:
 deterministic operation
documentation:
 
Constructs a property to be tested from an arbitrary expression
(first argument) and a predicate that is applied to the list of
non-deterministic values. The given predicate determines whether
the constructed property is satisfied or falsified for the given
expression.
failfree:
 <FAILING>
indeterministic:
 referentially transparent operation
infix:
 no fixity defined
iotype:
 {(_,_,_) |-> {Prop}}
name:
 test
precedence:
 no precedence defined
result-values:
 {Prop}
signature:
 Prelude.Show a => a -> ([a] -> Prelude.Bool) -> Test.Prop.Types.Prop
solution-complete:
 operation might suspend on free variables
terminating:
 possibly non-terminating
totally-defined:
 possibly non-reducible on same data term