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

definition: Info
 
withPrepare :: Benchmark a -> IO () -> Benchmark a
withPrepare (BM pre post bench) newpre = BM (newpre >> pre) post bench
demand: Info
 argument 1
deterministic: Info
 deterministic operation
documentation: Info
 
Adds some initial preparation action to a benchmark, e.g., to generate
benchmark data.
If the benchmark already contains some preparation, this new
preparation is executed first.
failfree: Info
 (_, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {({BM},_) |-> {BM}}
name: Info
 withPrepare
precedence: Info
 no precedence defined
result-values: Info
 {BM}
signature: Info
 Benchmark a -> Prelude.IO () -> Benchmark a
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 yes
totally-defined: Info
 reducible on all ground data terms