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

definition: Info
 
runOn :: (a -> Benchmark b) -> [a] -> Benchmark [(a,b)]
runOn bench xs =
  benchmark $ mapM (\x -> execBench (bench x) >>= \y -> return (x,y)) xs
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
Runs a parameterized benchmark on a list of input data.
The result is a benchmark returning a list of pairs consisting
of the input data and the benchmark result for this input data.

@param bench - the 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
 (_, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_) |-> _}
name: Info
 runOn
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 (a -> Benchmark b) -> [a] -> Benchmark [(a, b)]
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 reducible on all ground data terms