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

definition: Info
 
withCleanup :: Benchmark a -> IO () -> Benchmark a
withCleanup (BM pre post bench) newpost = BM pre (post >> newpost) bench
demand: Info
 argument 1
deterministic: Info
 deterministic operation
documentation: Info
 
Adds some final cleanup action to a benchmark.
If the benchmark already contains some cleanup action, this new
cleanup is executed last.
failfree: Info
 (_, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {({BM},_) |-> {BM}}
name: Info
 withCleanup
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