criterion-0.6.2.0: Robust, reliable performance measurement and analysis

Portability | GHC
Stability | experimental
Maintainer | bos@serpentine.com
Safe Haskell | None

Criterion.IO

Description

Input and output actions.

Synopsis

- class CritHPrintfType a
- note :: CritHPrintfType r => String -> r
- printError :: CritHPrintfType r => String -> r
- prolix :: CritHPrintfType r => String -> r
- summary :: String -> Criterion ()

# Documentation

class CritHPrintfType a Source

An internal class that acts like Printf/HPrintf.

The implementation is visible to the rest of the program, but the details of the class are not.

Instances

CritHPrintfType (IO a) |
CritHPrintfType (Criterion a) |
(CritHPrintfType r, PrintfArg a) => CritHPrintfType (a -> r) |

note :: CritHPrintfType r => String -> rSource

Print a "normal" note.

printError :: CritHPrintfType r => String -> rSource

Print an error message.

prolix :: CritHPrintfType r => String -> rSource

Print verbose output.

summary :: String -> Criterion ()Source

Add to summary CSV (if applicable)