CurryInfo: benchmark-papers-3.0.0 / Test.Benchmark.runUntilNothingOn

definition: Info
 
runUntilNothingOn :: Eq b => (a -> Benchmark (Maybe b)) -> [a]
                          -> Benchmark [(a,b)]
runUntilNothingOn bench benchdata =
  mapBench (map (\ (x,Just y) -> (x,y)))
           (runUntilOn bench (==Nothing) benchdata)
demand: Info
 argument 3
deterministic: Info
 deterministic operation
documentation: Info
 
Run a `Maybe` benchmark on an (infinite) input list of values
until a benchmark delivers `Nothing`.

@param bench - the `Maybe` benchmark parameterized by the input data
@param benchdata - the list of input data for the benchmarks
@return Benchmark with the list of input data and benchmark results pairs
failfree: Info
 <FAILING>
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_,_) |-> _}
name: Info
 runUntilNothingOn
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 Prelude.Eq b => (a -> Benchmark (Prelude.Maybe b)) -> [a] -> Benchmark [(a, b)]
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term