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

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