|
definition: |
mapBench :: (a -> b) -> Benchmark a -> Benchmark b mapBench f (BM pre post action) = BM pre post $ action >>= return . f |
|
demand: |
argument 2 |
|
deterministic: |
deterministic operation |
|
documentation: |
Maps benchmark results according to a given mapping (first argument). |
|
failfree: |
(_, _) |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{(_,{BM}) |-> _}
|
|
name: |
mapBench |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
(a -> b) -> Benchmark a -> Benchmark b |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
reducible on all ground data terms |