CurryInfo: base-3.4.0 / Control.Search.AllValues.getAllFailures

definition: Info
 
getAllFailures :: a -> (a -> Bool) -> IO [a]
getAllFailures generator test = do
  xs <- getAllValues generator
  failures <- mapM (naf test) xs
  return $ concat failures
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
Returns a list of values that do not satisfy a given constraint.
@param x - an expression (a generator evaluable to various values)
@param c - a constraint that should not be satisfied
@return A list of all values of e such that (c e) is not provable
failfree: Info
 (_, _)
indeterministic: Info
 might be indeterministic
infix: Info
 no fixity defined
iotype: Info
 {(_,_) |-> _}
name: Info
 getAllFailures
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 a -> (a -> Prelude.Bool) -> Prelude.IO [a]
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term